File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ concurrency:
15
15
group : ${{ github.workflow }}-${{ github.ref }}
16
16
cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
17
17
18
+ # needed to allow julia-actions/cache to delete old caches that it has created
19
+ permissions :
20
+ actions : write
21
+ contents : read
22
+
18
23
jobs :
19
24
test :
20
25
name : ${{ matrix.suite }} - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
50
55
with :
51
56
version : ${{ matrix.version }}
52
57
arch : ${{ matrix.arch }}
53
- - uses : actions/cache@v3
54
- env :
55
- cache-name : cache-artifacts
56
- with :
57
- path : ~/.julia/artifacts
58
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
59
- restore-keys : |
60
- ${{ runner.os }}-test-${{ env.cache-name }}-
61
- ${{ runner.os }}-test-
62
- ${{ runner.os }}-
58
+ - uses : julia-actions/cache@v1
63
59
- uses : julia-actions/julia-buildpkg@v1
64
60
- name : " Setup environment"
65
61
run : |
91
87
with :
92
88
version : ' 1'
93
89
arch : x64
90
+ - uses : julia-actions/cache@v1
94
91
- uses : julia-actions/julia-buildpkg@v1
95
92
- uses : actions/download-artifact@v3
96
93
- run : |
@@ -109,6 +106,7 @@ jobs:
109
106
- uses : julia-actions/setup-julia@v1
110
107
with :
111
108
version : ' 1.6'
109
+ - uses : julia-actions/cache@v1
112
110
- run : |
113
111
julia --project=docs -e '
114
112
using Pkg
You can’t perform that action at this time.
0 commit comments