From 04e69578738700f72a67c7576eb5f661831dd091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Fri, 21 Mar 2025 19:47:11 +0100 Subject: [PATCH 1/2] Warn about issue with cache step and PlutoPDF See https://github.com/JuliaPluto/PlutoPDF.jl/issues/28#issuecomment-2744190543 --- .github/workflows/ExportPluto.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ExportPluto.yaml b/.github/workflows/ExportPluto.yaml index bc74a84..e09a2f0 100644 --- a/.github/workflows/ExportPluto.yaml +++ b/.github/workflows/ExportPluto.yaml @@ -30,7 +30,7 @@ jobs: - name: Cache Julia artifacts & such uses: julia-actions/cache@v2 - with: + with: # /!\ Warning : Remove this step when using `PlutoPDF`, see https://github.com/JuliaPluto/PlutoPDF.jl/issues/28 cache-registries: "true" # 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. From 5ed3e1c0d763376cc2f33a9cf3d42ff70c8c3859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Wed, 26 Mar 2025 16:01:29 +0100 Subject: [PATCH 2/2] Update ExportPluto.yaml --- .github/workflows/ExportPluto.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ExportPluto.yaml b/.github/workflows/ExportPluto.yaml index e09a2f0..d1aba36 100644 --- a/.github/workflows/ExportPluto.yaml +++ b/.github/workflows/ExportPluto.yaml @@ -30,8 +30,9 @@ jobs: - name: Cache Julia artifacts & such uses: julia-actions/cache@v2 - with: # /!\ Warning : Remove this step when using `PlutoPDF`, see https://github.com/JuliaPluto/PlutoPDF.jl/issues/28 + with: cache-registries: "true" + cache-scratchspaces: "false" # Needed if using `PlutoPDF` see https://github.com/JuliaPluto/PlutoPDF.jl/issues/28 # 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. - name: Set up notebook state cache