Setup CICD
All checks were successful
Build Typst PDFs (Docker) / build-typst (push) Successful in 13s

Ci Fix

Fixed missing quotes

Ci Fix

Ci Fix: Why do i need to do this way?

Ci Fix: Another try

Ci Fix: Fixed "Fun" docker problem

Ci Fix: ARAAAAAAGG

Fuck my life

fasdgrdtgjz5uj6rz65jztu5jzt6uujztnzt56zu7jzt65u

Partial Ci cicd

Change something

Test

mhmm

test

asd

test

?

asd

ßsd

asd

asdasd

asd

asd

ddd

asd

asd

ddasd

asd

asd

asd

asd

asd

asd

dddd

asdd

asddd

asd
This commit is contained in:
alexander
2025-12-14 16:39:54 +01:00
parent 9bba9a337a
commit 20c65ae855
9 changed files with 9786 additions and 2519 deletions

View File

@@ -3,11 +3,10 @@ name: Build Typst PDFs (Docker)
on:
push:
branches: [ "main" ]
branches: [ "**" ]
pull_request:
branches: [ "main" ]
branches: [ "**" ]
# Change this to the folder that contains your .typ files (relative to repo root)
env:
TYPST_SOURCE_DIR: src
BUILD_DIR: build
@@ -17,30 +16,38 @@ jobs:
runs-on: ubuntu-latest
# Run the whole job inside a Docker container that has Typst installed
container:
image: ghcr.io/typst/typst:latest
options: --user root
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: false
lfs: false
- name: Show Typst & OS versions
run: |
typst --version || true
uname -a
- 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
shell: bash
run: |
TYPST_SOURCE_DIR="${TYPST_SOURCE_DIR}"
BUILD_DIR="${BUILD_DIR}"
./compile-all.bash
uses: addnab/docker-run-action@v3
env:
TYPST_SOURCE_DIR: ${{ env.TYPST_SOURCE_DIR }}
BUILD_DIR: ${{ env.BUILD_DIR }}
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"
- name: Upload PDFs
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: typst-pdfs
path: ${{ env.BUILD_DIR }}/
if-no-files-found: warn
path: ${{ env.BUILD_DIR }}/*.pdf
if-no-files-found: warn