Update gitea
Some checks failed
Build Typst PDFs (Docker) / build-typst (push) Failing after 12s

This commit is contained in:
alexander
2026-01-19 00:52:40 +01:00
parent 6cdd323198
commit d8769ca440
2 changed files with 10 additions and 50 deletions

View File

@@ -17,6 +17,7 @@ jobs:
# Run the whole job inside a Docker container that has Typst installed
steps:
- uses: typst-community/setup-typst@v4
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -27,30 +28,20 @@ jobs:
- name: Debug Ls
run: ls -la "$PWD" && echo "$PWD && echo ${{ github.workspace }}"
- name: Build Typst builder image
uses: docker/build-push-action@v2
- name: Compile Analysis 1
with:
tags: typst-builder-image:latest
push: false
working-directory: ${{ env.TYPST_SOURCE_DIR }}/analysis-1
run: typst compile analysis-1.typ --out-dir "../../${{ env.BUILD_DIR }}"
- name: Compile all .typ files
uses: addnab/docker-run-action@v3
env:
TYPST_SOURCE_DIR: ${{ env.TYPST_SOURCE_DIR }}
BUILD_DIR: ${{ env.BUILD_DIR }}
- name: Compile Schaltungstheorie
with:
image: typst-builder-image:latest
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
cwd: ${{ github.workspace }}
run: "cd ${{ github.workspace }} && TYPST_SOURCE_DIR=${{ env.TYPST_SOURCE_DIR }} BUILD_DIR=${{ env.BUILD_DIR }} bash -c ./compile-all.bash"
working-directory: ${{ env.TYPST_SOURCE_DIR }}/schaltungstheorie
run: typst compile schaltungstheorie.typ --out-dir "../../${{ env.BUILD_DIR }}"
- name: Upload PDFs
if: always()
uses: actions/upload-artifact@v3
- name: Compile LinAlg
with:
name: typst-pdfs
path: ${{ env.BUILD_DIR }}/*.pdf
if-no-files-found: warn
working-directory: ${{ env.TYPST_SOURCE_DIR }}/linAlg
run: typst compile LinearAlgebra.typ --out-dir "../../${{ env.BUILD_DIR }}"
- name: Create Gitea Release
uses: softprops/action-gh-release@v1