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
|
- 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
2
.vscode/tasks.json
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
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