Skip to content

Commit

Permalink
Update GitHub Actions workflow conditions for release job
Browse files Browse the repository at this point in the history
  • Loading branch information
ludorival committed Jan 9, 2025
1 parent 3c59b58 commit 7690676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
create-release:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/') && github.base_ref == 'main'
permissions:
contents: write
steps:
Expand Down

0 comments on commit 7690676

Please sign in to comment.