Limit release upload to push runs
All checks were successful
Build MrTrust / build (push) Successful in 4m24s

This commit is contained in:
MrSphay
2026-05-16 03:28:54 +02:00
parent a5cea35069
commit e37a0b56c4

View File

@@ -59,7 +59,7 @@ jobs:
path: dist/MrTrust-${{ env.MRTRUST_VERSION }}.zip path: dist/MrTrust-${{ env.MRTRUST_VERSION }}.zip
- name: Attach ZIP to Gitea release - name: Attach ZIP to Gitea release
if: github.ref == 'refs/heads/main' if: github.event_name == 'push' && github.ref == 'refs/heads/main'
shell: bash shell: bash
env: env:
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}