Skip to content

Commit

Permalink
ci: publish when is_upgraded_version === true
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Jul 24, 2024
1 parent 384b0c0 commit e3bd88f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/packaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ jobs:
# We create release only if the version in the package.json have been upgraded and this CI is running against the main branch.
# We allow branches with a PR open on main to publish pre-release (x.y.z-rc.u) but not actual releases.
if: |
needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true' &&
(
github.event_name == 'push' ||
needs.check_if_version_upgraded.outputs.is_pre_release == 'true'
)
needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true'
needs:
- check_if_version_upgraded
steps:
Expand Down

0 comments on commit e3bd88f

Please sign in to comment.