GitHub actions: make ccache actually working

This commit is contained in:
Alexander A. Klimov 2020-07-14 10:36:14 +02:00
parent 04704a49a4
commit 06bbf8f743
1 changed files with 6 additions and 3 deletions

View File

@ -63,7 +63,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: |
@ -197,7 +198,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'"
@ -266,7 +268,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: |