Skip to content

Commit a66ffae

Browse files
authored
Update ci.yml
1 parent 2fcbc4f commit a66ffae

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ jobs:
3131
version: ${{ matrix.version }}
3232
arch: ${{ matrix.arch }}
3333
- uses: actions/cache@v1
34+
env:
35+
cache-name: cache-artifacts
36+
with:
37+
path: ~/.julia/artifacts
38+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
39+
restore-keys: |
40+
${{ runner.os }}-test-${{ env.cache-name }}-
41+
${{ runner.os }}-test-
42+
${{ runner.os }}-
3443
- name: "Replace julia libstdcxx ubuntu + julia v1.6"
3544
if: ${{ matrix.version == '1.6' && matrix.os == 'ubuntu-latest' }}
3645
# The following is needed for Julia <=1.8.3 on Linux OS
@@ -51,16 +60,6 @@ jobs:
5160
@info read(`ls -al $src`, String)
5261
end
5362
'
54-
- uses: actions/cache@v1
55-
env:
56-
cache-name: cache-artifacts
57-
with:
58-
path: ~/.julia/artifacts
59-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
60-
restore-keys: |
61-
${{ runner.os }}-test-${{ env.cache-name }}-
62-
${{ runner.os }}-test-
63-
${{ runner.os }}-
6463
- uses: julia-actions/julia-buildpkg@v1
6564
- uses: julia-actions/julia-runtest@v1
6665
env:

0 commit comments

Comments
 (0)