@@ -17,45 +17,44 @@ jobs:
1717 runs-on : ubuntu-latest
1818 steps :
1919 - name : Checkout learn.JuliaAstro source
20- uses : actions/checkout@v5
20+ uses : actions/checkout@v6
2121
2222 - name : 🙌 Install Julia
2323 uses : julia-actions/setup-julia@v2
2424 with :
2525 version : " 1.12"
2626
2727 - name : ⏱ Cache notebook states
28- uses : actions/cache@v4
28+ uses : actions/cache@v5
2929 with :
3030 path : _cache
3131 key : ${{ runner.os }}-pluto_state_cache-v3-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}-${{ github.run_id }}
32- restore-keys : |
33- ${{ runner.os }}-pluto_state_cache-v3-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
32+ restore-keys : ${{ runner.os }}-pluto_state_cache-v3-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
3433
3534 - name : ⏱ Cache .julia
36- uses : actions/cache@v4
35+ uses : actions/cache@v5
3736 with :
3837 path : ~/.julia
3938 key : ${{ runner.os }}-dotjulia-v1-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}-${{ github.run_id }}
40- restore-keys : |
41- ${{ runner.os }}-dotjulia-v1-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
39+ restore-keys : ${{ runner.os }}-dotjulia-v1-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }}
4240
4341 - name : 📅 Checkout source
44- uses : actions/checkout@v5
42+ uses : actions/checkout@v6
43+
44+ - name : 🙌 Install dependencies
45+ shell : julia --project {0}
46+ run : import Pkg; Pkg.instantiate()
4547
4648 - name : 🪴 Generate site
49+ shell : julia --project {0}
4750 run : |
48- julia --project -e '
49- import Pkg
50- Pkg.instantiate()
51- import PlutoPages
52-
53- PlutoPages.generate("."; html_report_path="generation_report.html")'
51+ import PlutoPages
52+ PlutoPages.generate("."; html_report_path="generation_report.html")
5453 env :
5554 JULIA_PKG_SERVER : " "
5655
5756 - name : 📰 Upload site generation report
58- uses : actions/upload-artifact@v4
57+ uses : actions/upload-artifact@v6
5958 if : always()
6059 with :
6160 path : generation_report.html
0 commit comments