File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,25 @@ jobs:
30
30
version : " 1" # This will automatically pick the latest Julia version
31
31
32
32
- name : Cache Julia artifacts & such
33
- uses : julia-actions/cache@v1
33
+ uses : julia-actions/cache@v2
34
34
with :
35
- cache-registries : " true"
35
+ # Contains the node .env for PlutoPDF.
36
+ # Since it needs to be in sync with the puppeteer cache, we cache it separately.
37
+ cache-scratchspaces : false
38
+ - name : Set up PlutoPDF caches
39
+ uses : actions/cache@v4
40
+ with :
41
+ path : |
42
+ ~/.julia/scratchspaces
43
+ ~/.cache/puppeteer
44
+ key : ${{ runner.os }}-plutopdf_cache-${{ hashFiles('**/Project.toml', '**/Manifest.toml', '.github/workflows/*' ) }}
36
45
37
46
# We set up a folder that Pluto can use to cache exported
38
47
# notebooks. If the notebook file did not change, then Pluto can
39
48
# take the exported file from cache instead of running the
40
49
# notebook.
41
50
- name : Set up notebook state cache
42
- uses : actions/cache@v3
51
+ uses : actions/cache@v4
43
52
with :
44
53
path : pluto_state_cache
45
54
key : ${{ runner.os }}-pluto_state_cache-v2-${{ hashFiles('**/Project.toml', '**/Manifest.toml', '.github/workflows/*' ) }}-${{ hashFiles('**/*jl') }}
You can’t perform that action at this time.
0 commit comments