Ci Fix: Fixed "Fun" docker problem
Some checks failed
Build Typst PDFs (Docker) / build-typst (push) Failing after 9s

This commit is contained in:
alexander
2025-12-14 17:30:32 +01:00
parent 15dff69e39
commit 3c52dc6e25
6 changed files with 3 additions and 3863 deletions

View File

@@ -32,11 +32,7 @@ jobs:
- name: Compile all .typ files - name: Compile all .typ files
shell: bash shell: bash
run: | run: "TYPST_SOURCE_DIR=${{ env.TYPST_SOURCE_DIR }} BUILD_DIR=${{ env.BUILD_DIR }} ./compile-all.bash"
docker run --rm
-v "$PWD":/workspace
ghcr.io/typst/typst:latest
bash -c "echo test"
- name: Upload PDFs - name: Upload PDFs
if: always() if: always()

2
.vscode/tasks.json vendored
View File

@@ -3,7 +3,7 @@
{ {
"label": "Compile All", "label": "Compile All",
"type": "shell", "type": "shell",
"command": "./compile-all.bash", "command": "TYPST_SOURCE_DIR=src BUILD_DIR=output ./compile-all.bash",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true

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"
typst compile "$f" "$dest_pdf" docker run --rm -v "$PWD":/workspace ghcr.io/typst/typst:latest compile "/workspace/$f" "/workspace/$dest_pdf"
done done

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.