Make sure to run release step only on manual builds from master

This commit is contained in:
ge0rdi
2026-05-30 22:00:09 +02:00
parent f15a0fbd75
commit 9518c3b650
+1 -1
View File
@@ -68,7 +68,7 @@ jobs:
!Src/Setup/Final/OpenShellLoc.zip
release:
if: github.event_name == 'workflow_dispatch' # Only manual master builds
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds
needs: build
runs-on: ubuntu-latest # Cheaper/faster than windows for just uploading
permissions: