.gitea/workflows/build-pdf.yml aktualisiert
Dieser Commit ist enthalten in:
1 Ursprung
3943d3de14
Commit
6b4f711c40
1 Datei geändert
+10
@@ -6,6 +6,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
tags:
|
tags:
|
||||||
- 'v*' # Triggers when a release tag like v1.0.0 is pushed
|
- 'v*' # Triggers when a release tag like v1.0.0 is pushed
|
||||||
|
workflow_dispatch: # Enables manual start in the Web interface
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-pdf:
|
build-pdf:
|
||||||
@@ -19,6 +20,7 @@ jobs:
|
|||||||
- name: Compile Typst Documents
|
- name: Compile Typst Documents
|
||||||
run: |
|
run: |
|
||||||
/snap/bin/typst compile docs/lora/foxmesh-protocol.typ docs/lora/FoxMesh_Protocol.pdf
|
/snap/bin/typst compile docs/lora/foxmesh-protocol.typ docs/lora/FoxMesh_Protocol.pdf
|
||||||
|
/snap/bin/typst compile docs/lora/foxmesh-protocol_de.typ docs/lora/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
|
||||||
@@ -29,6 +31,14 @@ jobs:
|
|||||||
retention-days: 14
|
retention-days: 14
|
||||||
archive: false
|
archive: false
|
||||||
|
|
||||||
|
- name: Upload PDF Artifact de
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
name: foxmesh-protocol-de-pdf
|
||||||
|
path: docs/lora/FoxMesh_Protocol_de.pdf
|
||||||
|
retention-days: 14
|
||||||
|
archive: false
|
||||||
|
|
||||||
# 4. Optional: PDF direkt an ein Gitea-Release anhängen (wenn ein Tag gepusht wird)
|
# 4. Optional: PDF direkt an ein Gitea-Release anhängen (wenn ein Tag gepusht wird)
|
||||||
# - name: Upload to Gitea Release
|
# - name: Upload to Gitea Release
|
||||||
# if: startsWith(github.ref, 'refs/tags/')
|
# if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren