Skip to content

Commit

Permalink
Merge pull request #967 from codeoverflow-org/fix/no-publish-for-tags
Browse files Browse the repository at this point in the history
Do not publish tarballs in CI for tags
  • Loading branch information
hlxid authored Jul 23, 2023
2 parents a2b8cae + 7240bc2 commit 2fb8767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
name: Publish compilation results
# Don't run this in forks. This pushes to our separate repository that external contributors don't have access to.
# We also only want to publish if we have pushed a branch, not on a pull request. Otherwise we would publish everything twice.
if: startsWith(github.repository, 'codeoverflow-org') && github.actor != 'dependabot[bot]' && github.event_name != 'pull_request'
if: startsWith(github.repository, 'codeoverflow-org') && github.actor != 'dependabot[bot]' && github.event_name != 'pull_request' && github.ref_type != 'tag'
# Only publish anything if we're sure this version compiles (obviously) and all tests pass.
needs:
- build
Expand Down

0 comments on commit 2fb8767

Please sign in to comment.