Merge pull request #8114 from Icinga/bugfix/gha-ccache

GitHub actions: make ccache actually working
This commit is contained in:
Noah Hilverling 2020-07-27 10:36:58 +02:00 committed by GitHub
commit 188535b534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -61,7 +61,8 @@ jobs:
uses: actions/cache@v1
with:
path: deb-icinga2/ccache
key: '${{ matrix.distro.name }}/${{ matrix.distro.codename }}-ccache'
key: |-
${{ matrix.distro.name }}/${{ matrix.distro.codename }}-ccache-${{ hashFiles('deb-icinga2/ccache') }}
- name: Binary x64
run: |
@ -195,7 +196,8 @@ jobs:
uses: actions/cache@v1
with:
path: rpm-icinga2/ccache
key: '${{ matrix.distro.name }}/${{ matrix.distro.release }}-ccache'
key: |-
${{ matrix.distro.name }}/${{ matrix.distro.release }}-ccache-${{ hashFiles('rpm-icinga2/ccache') }}
- name: Binary
if: "steps.vars.outputs.CAN_BUILD == 'true'"
@ -264,7 +266,8 @@ jobs:
uses: actions/cache@v1
with:
path: raspbian-icinga2/ccache
key: 'raspbian/${{ matrix.codename }}-ccache'
key: |-
raspbian/${{ matrix.codename }}-ccache-${{ hashFiles('raspbian-icinga2/ccache') }}
- name: Binary
run: |