Skip to content

Commit b681a60

Browse files
authored
Use julia specific cache action (#228)
Closes #225
1 parent 28bbb21 commit b681a60

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
push:
77
branches:
88
- master
9-
tags: '*'
9+
tags:
10+
- '*'
1011
jobs:
1112
all:
1213
name: all
@@ -36,17 +37,7 @@ jobs:
3637
with:
3738
version: ${{ matrix.julia-version }}
3839
arch: ${{ matrix.julia-arch }}
39-
- name: Cache artifacts
40-
uses: actions/cache@v2
41-
env:
42-
cache-name: cache-artifacts
43-
with:
44-
path: ~/.julia/artifacts
45-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
46-
restore-keys: |
47-
${{ runner.os }}-test-${{ env.cache-name }}-
48-
${{ runner.os }}-test-
49-
${{ runner.os }}-
40+
- uses: julia-actions/cache@v2
5041
- name: Setup Docker
5142
if: ${{ matrix.docker == 'true' }}
5243
env:

0 commit comments

Comments
 (0)