Skip to content

Commit 6ead0f9

Browse files
Merge pull request #2 from XQP-Munich/adomasbaliuka-update-julia-and-workflow
Update Julia version and build workflow
2 parents 7d6bb0a + b1fc861 commit 6ead0f9

File tree

2 files changed

+682
-402
lines changed

2 files changed

+682
-402
lines changed

.github/workflows/ExportPluto.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,31 @@ concurrency:
1111
group: pluto-export
1212
cancel-in-progress: true
1313

14+
# This action needs permission to write the exported HTML file to the gh-pages branch.
15+
permissions:
16+
contents: write
17+
# (all other permission fields default to "none")
18+
1419
jobs:
1520
build-and-deploy:
1621
runs-on: ubuntu-latest
1722
steps:
1823
- name: Checkout this repository
19-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2025

2126
- name: Install Julia
22-
uses: julia-actions/setup-julia@v1
27+
uses: julia-actions/setup-julia@v2
2328
with:
2429
version: "1" # This will automatically pick the latest Julia version
2530

2631
- name: Cache Julia artifacts & such
27-
uses: julia-actions/cache@v1
32+
uses: julia-actions/cache@v2
2833
with:
2934
cache-registries: "true"
3035

3136
# We set up a folder that Pluto can use to cache exported notebooks. If the notebook file did not change, then Pluto can take the exported file from cache instead of running the notebook.
3237
- name: Set up notebook state cache
33-
uses: actions/cache@v3
38+
uses: actions/cache@v4
3439
with:
3540
path: pluto_state_cache
3641
key: ${{ runner.os }}-pluto_state_cache-v2-${{ hashFiles('**/Project.toml', '**/Manifest.toml', '.github/workflows/*' ) }}-${{ hashFiles('**/*jl') }}

0 commit comments

Comments
 (0)