This commit is contained in:
@@ -27,16 +27,22 @@ jobs:
|
||||
- name: Debug Ls
|
||||
run: ls -la "$PWD" && echo "$PWD && echo ${{ github.workspace }}"
|
||||
|
||||
- name: Build Typst builder image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
tags: typst-builder-image:latest
|
||||
push: false
|
||||
|
||||
- name: Compile all .typ files
|
||||
uses: addnab/docker-run-action@v3
|
||||
env:
|
||||
TYPST_SOURCE_DIR: ${{ env.TYPST_SOURCE_DIR }}
|
||||
BUILD_DIR: ${{ env.BUILD_DIR }}
|
||||
with:
|
||||
image: ghcr.io/typst/typst:0.14.2
|
||||
image: typst-builder-image:latest
|
||||
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
|
||||
cwd: ${{ github.workspace }}
|
||||
run: "cd ${{ github.workspace }} && ls -laF"
|
||||
run: "cd ${{ github.workspace }} && ./compile-all.bash"
|
||||
|
||||
|
||||
- name: Upload PDFs
|
||||
|
||||
Reference in New Issue
Block a user