Skip to content

Commit

Permalink
Publish if it has a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantSparks committed Aug 1, 2024
1 parent 4a76b74 commit e471176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
publish:
name: Publish
needs: [test, format, lint, semver]
if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/')
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit e471176

Please sign in to comment.