.gitea/workflows/build-pdf.yml aktualisiert
Dieser Commit ist enthalten in:
1 Ursprung
a7e356ce04
Commit
326b602a99
1 Datei geändert
+13
-4
@@ -16,12 +16,21 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# 2. Set up Typst CLI and compile the PDF
|
# 2. Download and extract the latest Typst Binary (No installation required)
|
||||||
|
- name: Download Latest Typst
|
||||||
|
run: |
|
||||||
|
cd docs/lora/
|
||||||
|
curl -L -o typst.tar.gz https://github.com/typst/typst/releases/latest/download/typst-x86_64-unknown-linux-musl.tar.gz
|
||||||
|
tar -xzf typst.tar.gz --strip-components=1
|
||||||
|
chmod +x ./typst
|
||||||
|
|
||||||
|
# 3. Compile the PDF using the local binary
|
||||||
- name: Compile Typst Documents
|
- name: Compile Typst Documents
|
||||||
run: |
|
run: |
|
||||||
ls -la docs/lora/
|
cd docs/lora/
|
||||||
/snap/bin/typst compile docs/lora/foxmesh-protocol.typ docs/lora/FoxMesh_Protocol.pdf
|
ls -la
|
||||||
/snap/bin/typst compile docs/lora/foxmesh-protocol_de.typ docs/lora/FoxMesh_Protocol_de.pdf
|
./typst compile foxmesh-protocol.typ FoxMesh_Protocol.pdf
|
||||||
|
./typst compile foxmesh-protocol_de.typ FoxMesh_Protocol_de.pdf
|
||||||
|
|
||||||
# 3. Upload PDF as a Gitea artifact (runs on every push to main)
|
# 3. Upload PDF as a Gitea artifact (runs on every push to main)
|
||||||
- name: Upload PDF Artifact
|
- name: Upload PDF Artifact
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren