Skip to content

Commit

Permalink
ci(.github/workflows/build.yml): update workflow to pre-release on ma…
Browse files Browse the repository at this point in the history
…in only
  • Loading branch information
benjivesterby committed Mar 27, 2023
1 parent 23ec4c0 commit 2b1ef4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
file: ./coverage.txt
pre-release:
name: "Pre Release"
if: github.event_name != 'pull_request'
if: github.ref == 'refs/heads/main'
runs-on: "ubuntu-latest"
needs: [build, test]
steps:
Expand Down

0 comments on commit 2b1ef4d

Please sign in to comment.