updated action
All checks were successful
Build Typst PDF / build (push) Successful in 12s

This commit is contained in:
2026-02-12 16:55:17 +01:00
parent 8fa1807ae5
commit 71e51f65d0

View File

@@ -35,11 +35,28 @@ jobs:
run: | run: |
chmod +x build.sh chmod +x build.sh
./build.sh ./build.sh
- name: Update Nightly Tag
# This moves the 'nightly' tag to the current commit
run: |
git config user.name "Gitea Actions"
git config user.email "actions@gitea.local"
# Force create/move the tag locally
git tag -f nightly
# Force push the tag to the remote
git push -f origin nightly
- name: Upload Artifacts - name: Publish Nightly Release
uses: actions/upload-artifact@v3 uses: softprops/action-gh-release@v1
with: with:
name: mathe-merkblaetter tag_name: nightly
# Your script outputs to the ./build directory name: Nightly Build
path: build/*.pdf body: |
if-no-files-found: error **Automated Nightly Build**
Triggered by commit: `${{ gitea.sha }}`
Date: ${{ gitea.event.head_commit.timestamp }}
files: build/*.pdf
prerelease: true
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}