doc: foxmash protocol in typst, display chars
Build of FoxMesh / build-and-test (pull_request) Successful in 2m41s
Build of FoxMesh / build-and-test (pull_request) Successful in 2m41s
Dieser Commit ist enthalten in:
1 Ursprung
0a1c781f0d
Commit
acd7d316bc
9 Dateien geändert
+4920
-94
Keine Dateien entsprechen Ihrer Suche
@@ -0,0 +1,43 @@
|
||||
name: Build and Release Typst PDF
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*' # Triggers when a release tag like v1.0.0 is pushed
|
||||
|
||||
jobs:
|
||||
build-pdf:
|
||||
runs-on: host
|
||||
steps:
|
||||
# 1. Checkout the source code from Git
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# 2. Set up Typst CLI and compile the PDF
|
||||
- name: Setup and Compile Typst
|
||||
uses: chgrobold/action-typst@v3
|
||||
with:
|
||||
source: docs/lora/foxmesh-protocol.typ
|
||||
output: docs/lora/FoxMesh_Protocol.pdf
|
||||
|
||||
# 3. Upload PDF as a Gitea artifact (runs on every push to main)
|
||||
- name: Upload PDF Artifact
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: Foxmesh-Protocol-pdf
|
||||
path: docs/lora/FoxMesh_Protocol.pdf
|
||||
retention-days: 14
|
||||
archive: false
|
||||
|
||||
# 4. Optional: PDF direkt an ein Gitea-Release anhängen (wenn ein Tag gepusht wird)
|
||||
# - name: Upload to Gitea Release
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
# uses: svenstaro/upload-release-action@v2
|
||||
# with:
|
||||
# repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# file: FoxMesh_Engineering_Manual.pdf
|
||||
# asset_name: FoxMesh_Engineering_Manual.pdf
|
||||
# tag: ${{ github.ref }}
|
||||
# overwrite: true
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren