Manual runs on main or a release tag now publish (and announce) like pushes do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
a83bbb39be
commit
d3d862b96d
1 file changed
+2
-1
@@ -132,7 +132,8 @@ jobs:
|
||||
path: dist/T5DE-Setup.exe
|
||||
|
||||
- name: Publish the release
|
||||
if: github.event_name == 'push'
|
||||
# Pushes and manual runs on main or a release tag; never pull requests.
|
||||
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Optional: a Discord webhook URL that nightlies are announced on.
|
||||
|
||||
Reference in new issue
Block a user