Skip to content

Commit

Permalink
pb.yml: Only trigger release step on workflow-dispatch
Browse files Browse the repository at this point in the history
This mimics `sct_tutorial_data` et al.
  • Loading branch information
joshuacwnewton committed Nov 9, 2023
1 parent 8e49186 commit 259b3a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/package-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ jobs:
release:
needs: [build]
runs-on: ubuntu-latest
#if: github.event_name == 'push' && github.branch_name == 'master' # only do a release on master
# Only attach to release if workflow is run manually. (This allows the workflow to double as a PR test.)
if: github.event_name == 'workflow_dispatch'
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 259b3a7

Please sign in to comment.