.gitea/workflows/build-pdf.yml aktualisiert
Dieser Commit ist enthalten in:
1 Ursprung
ea9639bca0
Commit
1b6bb7ef32
1 Datei geändert
+1
-3
@@ -22,9 +22,7 @@ jobs:
|
|||||||
cd docs/lora/
|
cd docs/lora/
|
||||||
XZ_FILE_URL=$(curl -s https://api.github.com/repos/typst/typst/releases/latest | jq -r '.assets[] | select(.name | endswith("x86_64-unknown-linux-musl.tar.xz")) | .browser_download_url')
|
XZ_FILE_URL=$(curl -s https://api.github.com/repos/typst/typst/releases/latest | jq -r '.assets[] | select(.name | endswith("x86_64-unknown-linux-musl.tar.xz")) | .browser_download_url')
|
||||||
echo "$XZ_FILE_URL"
|
echo "$XZ_FILE_URL"
|
||||||
curl -L -o typst.tar.xz "$XZ_FILE_URL"
|
curl -L "$XZ_FILE_URL" | tar -xJ --strip-components=1
|
||||||
ls -la
|
|
||||||
tar -xJf typst.tar.xz --strip-components=1
|
|
||||||
chmod +x ./typst
|
chmod +x ./typst
|
||||||
|
|
||||||
# 3. Compile the PDF using the local binary
|
# 3. Compile the PDF using the local binary
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren