act
Some checks failed
Lints / typos (push) Successful in 14s
Build and deploy / build (push) Failing after 4m35s

This commit is contained in:
Mark 2025-01-21 17:09:22 -08:00
parent f6c9ace0f5
commit fc922e4931
Signed by: Mark
GPG Key ID: C6D63995FE72FD80

View File

@ -13,16 +13,16 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# Could also install texlive-full, # Could instead install `texlive-full`, but that takes ~20 minutes.
# but that takes ~20 minutes. # We'll specify the packages we need manually.
- name: Install TeXLive - name: "Install TeXLive"
run: | run: |
sudo apt update sudo apt update
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
sudo apt install --yes \ sudo apt install --yes \
texlive texlive-xetex texlive texlive-xetex
- name: Download Typst - name: "Download Typst"
run: | run: |
wget "https://github.com/typst/typst/releases/download/v0.12.0/typst-x86_64-unknown-linux-musl.tar.xz" wget "https://github.com/typst/typst/releases/download/v0.12.0/typst-x86_64-unknown-linux-musl.tar.xz"
tar -xf "typst-x86_64-unknown-linux-musl.tar.xz" tar -xf "typst-x86_64-unknown-linux-musl.tar.xz"
@ -30,34 +30,22 @@ jobs:
rm "typst-x86_64-unknown-linux-musl.tar.xz" rm "typst-x86_64-unknown-linux-musl.tar.xz"
rm -dr "typst-x86_64-unknown-linux-musl" rm -dr "typst-x86_64-unknown-linux-musl"
- name: Build handouts # Builds all handouts, LaTeX and Typst
- name: "Build handouts"
run: TYPST_PATH="$(pwd)/typst" python tools/build/main.py run: TYPST_PATH="$(pwd)/typst" python tools/build/main.py
- name: Advanced logs # Upload logs, even if build fails.
# LaTeX stdout/stderr isn't always helpful.
- name: "Upload LaTeX logs"
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: always() if: always()
with: with:
name: "logs: advanced" name: "LaTeX logs"
path: "Advanced/*" path: "**/*.log"
retention-days: 1 retention-days: 1
- name: Intermediate logs # Upload build output
uses: actions/upload-artifact@v3 - name: "Upload output"
if: always()
with:
name: "logs: intermediate"
path: "Intermediate/*"
retention-days: 1
- name: Warm-Up logs
uses: actions/upload-artifact@v3
if: always()
with:
name: "logs: warm-ups"
path: "Warm-Ups/*"
retention-days: 1
- name: Upload output
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: output name: output