Ci Fix: Fixed "Fun" docker problem
Some checks failed
Build Typst PDFs (Docker) / build-typst (push) Failing after 9s
Some checks failed
Build Typst PDFs (Docker) / build-typst (push) Failing after 9s
This commit is contained in:
@@ -32,11 +32,7 @@ jobs:
|
||||
|
||||
- name: Compile all .typ files
|
||||
shell: bash
|
||||
run: |
|
||||
docker run --rm
|
||||
-v "$PWD":/workspace
|
||||
ghcr.io/typst/typst:latest
|
||||
bash -c "echo test"
|
||||
run: "TYPST_SOURCE_DIR=${{ env.TYPST_SOURCE_DIR }} BUILD_DIR=${{ env.BUILD_DIR }} ./compile-all.bash"
|
||||
|
||||
- name: Upload PDFs
|
||||
if: always()
|
||||
|
||||
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@@ -3,7 +3,7 @@
|
||||
{
|
||||
"label": "Compile All",
|
||||
"type": "shell",
|
||||
"command": "./compile-all.bash",
|
||||
"command": "TYPST_SOURCE_DIR=src BUILD_DIR=output ./compile-all.bash",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
|
||||
@@ -26,5 +26,5 @@ for f in "${files[@]}"; do
|
||||
dest_pdf="${OUT_DIR}/$(basename "${rel%.typ}").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
|
||||
|
||||
2301
output/Analysis1.pdf
2301
output/Analysis1.pdf
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user