Skip to content

Commit

Permalink
Merge pull request #24 from kate-goldenring/only-upload-artifact-on-m…
Browse files Browse the repository at this point in the history
…erge

fix(workflow): only upload bottle artifacts on merge
  • Loading branch information
kate-goldenring authored Dec 28, 2023
2 parents cbc66f5 + a141a8e commit b5483fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: github.event_name == 'pull_request'

- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-artifact@main
with:
name: bottles
Expand Down

0 comments on commit b5483fd

Please sign in to comment.