File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,26 @@ 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
+
39
+ - name : Set up PlutoPDF caches
40
+ uses : actions/cache@v4
41
+ with :
42
+ path : |
43
+ ~/.julia/scratchspaces
44
+ ~/.cache/puppeteer
45
+ key : ${{ runner.os }}-plutopdf_cache-${{ hashFiles('**/Project.toml', '**/Manifest.toml', '.github/workflows/*' ) }}
36
46
37
47
# We set up a folder that Pluto can use to cache exported
38
48
# notebooks. If the notebook file did not change, then Pluto can
39
49
# take the exported file from cache instead of running the
40
50
# notebook.
41
51
- name : Set up notebook state cache
42
- uses : actions/cache@v3
52
+ uses : actions/cache@v4
43
53
with :
44
54
path : pluto_state_cache
45
55
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