fix(ci): correct conditional for release creation step
- Change 'changed' check from truthy string to explicit 'true' comparison - GitHub Actions treats non-empty strings as truthy, causing step to run unexpectedly - This was causing the workflow to attempt updating v0.3.0 release when it shouldn't
This commit is contained in:
2
.github/workflows/auto-versioning.yml
vendored
2
.github/workflows/auto-versioning.yml
vendored
@@ -91,7 +91,7 @@ jobs:
|
||||
CHARON_TOKEN: ${{ secrets.CHARON_TOKEN }}
|
||||
|
||||
- name: Create GitHub Release (tag-only, no workspace changes)
|
||||
if: ${{ steps.semver.outputs.changed && steps.check_release.outputs.exists == 'false' }}
|
||||
if: ${{ steps.semver.outputs.changed == 'true' && steps.check_release.outputs.exists == 'false' }}
|
||||
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2
|
||||
with:
|
||||
tag_name: ${{ steps.determine_tag.outputs.tag }}
|
||||
|
||||
Reference in New Issue
Block a user