File tree 2 files changed +16
-3
lines changed
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 58
58
59
59
- name : Save _freeze folder
60
60
id : cache-save
61
- if : always()
61
+ if : ${{ !cancelled() }}
62
62
uses : actions/cache/save@v4
63
63
with :
64
64
path : |
67
67
68
68
- name : Save Julia depot cache
69
69
id : julia-cache-save
70
- if : always () && steps.julia-cache.outputs.cache-hit != 'true'
70
+ if : ${{ !cancelled () && steps.julia-cache.outputs.cache-hit != 'true' }}
71
71
uses : actions/cache/save@v4
72
72
with :
73
73
path : ${{ steps.julia-cache.outputs.cache-paths }}
Original file line number Diff line number Diff line change 28
28
version : ' 1.11'
29
29
30
30
- name : Load Julia packages from cache
31
- uses : julia-actions/cache@v2
31
+ id : julia-cache
32
+ uses : penelopeysm/julia-cache@main
33
+ with :
34
+ cache-name : julia-cache;${{ hashFiles('**/Manifest.toml') }}
35
+ delete-old-caches : false
32
36
33
37
# Note: needs resolve() to fix #518
34
38
- name : Instantiate Julia environment
@@ -86,12 +90,21 @@ jobs:
86
90
87
91
- name : Save _freeze folder
88
92
id : cache-save
93
+ if : ${{ !cancelled() }}
89
94
uses : actions/cache/save@v4
90
95
with :
91
96
path : |
92
97
./_freeze/
93
98
key : ${{ runner.os }}-${{ hashFiles('**/Manifest.toml') }}-${{ hashFiles('**/index.qmd') }}
94
99
100
+ - name : Save Julia depot cache
101
+ id : julia-cache-save
102
+ if : ${{ !cancelled() && steps.julia-cache.outputs.cache-hit != 'true' }}
103
+ uses : actions/cache/save@v4
104
+ with :
105
+ path : ${{ steps.julia-cache.outputs.cache-paths }}
106
+ key : ${{ steps.julia-cache.outputs.cache-key }}
107
+
95
108
- name : Fetch search_original.json from main site
96
109
run : curl -O https://raw.githubusercontent.com/TuringLang/turinglang.github.io/gh-pages/search_original.json
97
110
You can’t perform that action at this time.
0 commit comments