Added a build script
All checks were successful
Build Typst PDFs (Docker) / build-typst (push) Successful in 6s
All checks were successful
Build Typst PDFs (Docker) / build-typst (push) Successful in 6s
CI Fix: Node not found Ci Fix
This commit is contained in:
31
.gitea/workflows/build-script.yaml
Normal file
31
.gitea/workflows/build-script.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
# .gitea/workflows/typst-build.yml
|
||||
name: Build Typst PDFs (Docker)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
# Change this to the folder that contains your .typ files (relative to repo root)
|
||||
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: Show Typst & OS versions
|
||||
run: |
|
||||
typst --version || true
|
||||
uname -a
|
||||
Reference in New Issue
Block a user