must use different ccache keys to avoid conflicts between concurrent jobs

This commit is contained in:
Axel Kohlmeyer
2024-08-22 11:02:43 -04:00
parent 8c6351b6b9
commit 664c6f908a
3 changed files with 6 additions and 6 deletions

View File

@ -36,8 +36,8 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: linux-ccache-${{ github.sha }}
restore-keys: linux-ccache-
key: linux-full-ccache-${{ github.sha }}
restore-keys: linux-full-ccache-
- name: Building LAMMPS via CMake
shell: bash

View File

@ -38,8 +38,8 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: linux-ccache-${{ github.sha }}
restore-keys: linux-ccache-
key: linux-quick-ccache-${{ github.sha }}
restore-keys: linux-quick-ccache-
- name: Building LAMMPS via CMake
shell: bash

View File

@ -38,8 +38,8 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: linux-ccache-${{ github.sha }}
restore-keys: linux-ccache-
key: linux-unit-ccache-${{ github.sha }}
restore-keys: linux-unit-ccache-
- name: Building LAMMPS via CMake
shell: bash