Skip to content

Commit ac01511

Browse files
SebastianM-Cclaude
andcommitted
add the julia version to the cache key
Co-authored-by: Claude <[email protected]>
1 parent c97006b commit ac01511

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
cache-name: cache-artifacts
5858
with:
5959
path: ~/.julia/artifacts
60-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
60+
key: ${{ runner.os }}-test-${{ matrix.version }}-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
6161
restore-keys: |
62-
${{ runner.os }}-test-${{ env.cache-name }}-
63-
${{ runner.os }}-test-
62+
${{ runner.os }}-test-${{ matrix.version }}-${{ env.cache-name }}-
63+
${{ runner.os }}-test-${{ matrix.version }}-
6464
${{ runner.os }}-
6565
- uses: julia-actions/julia-buildpkg@v1
6666
- if: ${{ matrix.group == 'OptimizationQuadDIRECT' }}

0 commit comments

Comments
 (0)