From 5e9cc96bbf40be50e9a6416828f8d5a44027d052 Mon Sep 17 00:00:00 2001 From: Austin Harris Date: Thu, 24 Sep 2026 17:31:10 -0600 Subject: [PATCH] Pages workflow: do not let setup-typst pre-compile page.typ setup-typst warms its package cache by compiling the file named in cache-dependency-path, without the --input values page.typ needs, so the deploy failed before the site build ran. The cmarker package is fetched by the first compile in build.py instead. --- .github/workflows/pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 7fbd676..f51ed05 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -35,10 +35,11 @@ jobs: - uses: actions/setup-python@v7 with: python-version: "3.12" + # No cache-dependency-path: the action would pre-compile page.typ without its --input values and fail. + # build.py downloads the cmarker package on the first compile instead. - uses: typst-community/setup-typst@v5 with: typst-version: "0.14.2" - cache-dependency-path: site/page.typ - run: pip install pygments==2.19.2 # The committed charts must match the data: a stale chart or explorer fails the deploy. - name: Check the committed charts against the data