Skip to content

Commit

Permalink
build: Update release_binaries.yml (#180)
Browse files Browse the repository at this point in the history
Update release_binaries.yml
  • Loading branch information
richardbremner authored Jun 21, 2024
1 parent be5aa7d commit 1974afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
release:
if: github.ref == 'refs/heads/main' # Only run this job on the main branch
if: ${{ github.event.workflow_run.head_branch == 'main' }} # Only run this job on the main branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 1974afb

Please sign in to comment.