Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 2fb8767

Browse files
authored
Merge pull request #967 from codeoverflow-org/fix/no-publish-for-tags
Do not publish tarballs in CI for tags
2 parents a2b8cae + 7240bc2 commit 2fb8767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
name: Publish compilation results
159159
# Don't run this in forks. This pushes to our separate repository that external contributors don't have access to.
160160
# We also only want to publish if we have pushed a branch, not on a pull request. Otherwise we would publish everything twice.
161-
if: startsWith(github.repository, 'codeoverflow-org') && github.actor != 'dependabot[bot]' && github.event_name != 'pull_request'
161+
if: startsWith(github.repository, 'codeoverflow-org') && github.actor != 'dependabot[bot]' && github.event_name != 'pull_request' && github.ref_type != 'tag'
162162
# Only publish anything if we're sure this version compiles (obviously) and all tests pass.
163163
needs:
164164
- build

0 commit comments

Comments
 (0)