Fixed Build script
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:
@@ -29,3 +29,18 @@ jobs:
|
||||
run: |
|
||||
typst --version || true
|
||||
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
2
.gitignore
vendored
@@ -1 +1 @@
|
||||
venv
|
||||
venv
|
||||
@@ -26,5 +26,5 @@ for f in "${files[@]}"; do
|
||||
dest_pdf="${OUT_DIR}/$(basename "${rel%.typ}").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
|
||||
|
||||
7086
out/Analysis1.pdf
7086
out/Analysis1.pdf
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.
Reference in New Issue
Block a user