Skip to content

Pages workflow: do not let setup-typst pre-compile page.typ - #150

Merged
Astn merged 1 commit into
masterfrom
pages-cache-fix
Sep 25, 2026
Merged

Astn merged 1 commit into
masterfrom
pages-cache-fix

Conversation

@Astn

@Astn Astn commented Sep 24, 2026

Copy link
Copy Markdown
Owner

The first Pages deploy after #149 failed in the setup-typst step: with cache-dependency-path: site/page.typ the action compiles that file itself to warm its package cache, without the --input values the page needs, and stops there (dictionary does not contain key "source"). Dropping the option lets the site build download the cmarker package on its first compile, which is what happens locally. No other change.

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.
@Astn
Astn merged commit cc280db into master Sep 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant