generated from MrSphay/codex-agent-repository-kit
Limit release upload to push runs
All checks were successful
Build MrTrust / build (push) Successful in 4m24s
All checks were successful
Build MrTrust / build (push) Successful in 4m24s
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user