CI Fix: Node not found
Some checks failed
Build Typst PDFs (Docker) / build-typst (push) Has been cancelled
Some checks failed
Build Typst PDFs (Docker) / build-typst (push) Has been cancelled
This commit is contained in:
@@ -17,10 +17,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Run the whole job inside a Docker container that has Typst installed
|
# Run the whole job inside a Docker container that has Typst installed
|
||||||
container:
|
|
||||||
image: ghcr.io/typst/typst:latest
|
|
||||||
options: --user root
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -32,10 +28,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Compile all .typ files
|
- name: Compile all .typ files
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: docker run --rm \
|
||||||
TYPST_SOURCE_DIR="${TYPST_SOURCE_DIR}"
|
-v "$PWD":/work \
|
||||||
BUILD_DIR="${BUILD_DIR}"
|
ghcr.io/typst/typst:latest \
|
||||||
./compile-all.bash
|
bash -c "
|
||||||
|
TYPST_SOURCE_DIR="${TYPST_SOURCE_DIR}"
|
||||||
|
BUILD_DIR="${BUILD_DIR}"
|
||||||
|
./compile-all.bash
|
||||||
|
"
|
||||||
|
|
||||||
- name: Upload PDFs
|
- name: Upload PDFs
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user