Files
TUM-Formelsammlungen/.gitea/workflows/build-script.yaml
alexander 54a43272d6
All checks were successful
Build Typst PDFs (Docker) / build-typst (push) Successful in 23s
asd
2025-12-14 20:51:03 +01:00

38 lines
752 B
YAML

# .gitea/workflows/typst-build.yml
name: Build Typst PDFs (Docker)
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
env:
TYPST_SOURCE_DIR: src
BUILD_DIR: build
jobs:
build-typst:
runs-on: ubuntu-latest
# Run the whole job inside a Docker container that has Typst installed
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: false
lfs: false
- name: Debug Ls
run: ls -la "$PWD" && echo "$PWD"
- name: Upload PDFs
if: always()
uses: actions/upload-artifact@v4
with:
name: typst-pdfs
path: ${{ env.BUILD_DIR }}/
if-no-files-found: warn