Skip to content

Commit 9518c3b

Browse files
committed
Make sure to run release step only on manual builds from master
1 parent f15a0fb commit 9518c3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
!Src/Setup/Final/OpenShellLoc.zip
6969
7070
release:
71-
if: github.event_name == 'workflow_dispatch' # Only manual master builds
71+
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master' # Only manual master builds
7272
needs: build
7373
runs-on: ubuntu-latest # Cheaper/faster than windows for just uploading
7474
permissions:

0 commit comments

Comments
 (0)