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

Commit e3bd88f

Browse files
committed
ci: publish when is_upgraded_version === true
1 parent 384b0c0 commit e3bd88f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/packaging.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ jobs:
3939
# We create release only if the version in the package.json have been upgraded and this CI is running against the main branch.
4040
# We allow branches with a PR open on main to publish pre-release (x.y.z-rc.u) but not actual releases.
4141
if: |
42-
needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true' &&
43-
(
44-
github.event_name == 'push' ||
45-
needs.check_if_version_upgraded.outputs.is_pre_release == 'true'
46-
)
42+
needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true'
4743
needs:
4844
- check_if_version_upgraded
4945
steps:

0 commit comments

Comments
 (0)