Fixed Build script
Some checks failed
Build Typst PDFs (Docker) / build-typst (push) Failing after 9s

This commit is contained in:
alexander
2025-12-14 19:07:34 +01:00
parent 79c888f774
commit 8a43b700d4
7 changed files with 17 additions and 11114 deletions

View File

@@ -29,3 +29,18 @@ jobs:
run: | run: |
typst --version || true typst --version || true
uname -a uname -a
- name: Debug Ls
run: ls -la "$PWD" && echo "$PWD"
- name: Compile all .typ files
shell: bash
run: "TYPST_SOURCE_DIR=${{ env.TYPST_SOURCE_DIR }} BUILD_DIR=${{ env.BUILD_DIR }} ./compile-all.bash"
- name: Upload PDFs
if: always()
uses: actions/upload-artifact@v4
with:
name: typst-pdfs
path: ${{ env.BUILD_DIR }}/
if-no-files-found: warn

2
.gitignore vendored
View File

@@ -1 +1 @@
venv venv

View File

@@ -26,5 +26,5 @@ for f in "${files[@]}"; do
dest_pdf="${OUT_DIR}/$(basename "${rel%.typ}").pdf" dest_pdf="${OUT_DIR}/$(basename "${rel%.typ}").pdf"
echo "Compiling: $f -> $dest_pdf" echo "Compiling: $f -> $dest_pdf"
docker run --rm -v "$PWD":/work ghcr.io/typst/typst:latest compile "/work/$f" "/work/$dest_pdf" typst compile "$f" "$dest_pdf"
done done

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.