From 28390ae896483b9ab43b587b7c77e6bd350b1816 Mon Sep 17 00:00:00 2001 From: Romane <122701716+rom-vtn@users.noreply.github.com> Date: Thu, 7 May 2026 17:16:28 +0200 Subject: [PATCH] try to cache browser into other path --- .gitea/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 34712c1..2bf11f8 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -18,7 +18,7 @@ jobs: if: steps.restore-cache.outputs.cache-hit != 'true' run: | npm i -g -y @marp-team/marp-cli@latest playwright && \ - playwright install --with-deps chrome + PLAYWRIGHT_BROWSERS_PATH=/opt/browsers playwright install --with-deps chrome - name: cache marp installation if: steps.restore-cache.outputs.cache-hit != 'true' uses: actions/cache/save@v3 @@ -28,6 +28,7 @@ jobs: - name: build presentation working-directory: ./presentation run: | + export PLAYWRIGHT_BROWSERS_PATH=/opt/browsers && \ marp presentation.md --html -o index.html --theme-set ./themes -- && \ marp presentation.md --html --browser-path "/opt/google/chrome/google-chrome" --allow-local-files -o presentation.pdf --theme-set ./themes -- && \ zip -r ../presentation.zip .