This commit is contained in:
Andrea Cavalli 2023-05-09 10:49:08 +02:00
parent 5f7da0ee06
commit 7d4fcbb148

View File

@ -74,14 +74,6 @@ jobs:
# Save env to file # Save env to file
cat $GITHUB_ENV > github.env cat $GITHUB_ENV > github.env
- name: Cache Maven
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-v3-maven-${{ env.SAFE_TYPE }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-v3-maven-${{ env.SAFE_TYPE }}-
- name: Cache packages cache - name: Cache packages cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
@ -90,13 +82,10 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-v3-packages-${{ env.SAFE_TYPE }}- ${{ runner.os }}-v3-packages-${{ env.SAFE_TYPE }}-
- name: Cache ccache - name: ccache
uses: actions/cache@v3 uses: hendrikmuhs/ccache-action@v1.2
with: with:
path: ~/.ccache key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.type }}
key: ${{ runner.os }}-v2-ccache-${{ env.SAFE_TYPE }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-v2-ccache-${{ env.SAFE_TYPE }}-
- name: Setup Java (Snapshot) - name: Setup Java (Snapshot)
if: github.ref == 'refs/heads/develop' if: github.ref == 'refs/heads/develop'