Skip to content

Commit d7283ad

Browse files
Use 'version' step outputs in release workflow
Fix incorrect step output references in .github/workflows/release.yml by replacing steps.get_version.outputs.VERSION with steps.version.outputs.VERSION for both the release artifact filename and release name. This ensures the workflow uses the actual step output name and prevents failures when creating the GitHub Release.
1 parent fc38c02 commit d7283ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
- name: Create GitHub Release
7777
uses: softprops/action-gh-release@v2
7878
with:
79-
files: ${{ env.PRODUCT_NAME }}_${{ steps.get_version.outputs.VERSION }}.zip
80-
name: Release ${{ steps.get_version.outputs.VERSION }}
79+
files: ${{ env.PRODUCT_NAME }}_${{ steps.version.outputs.VERSION }}.zip
80+
name: Release ${{ steps.version.outputs.VERSION }}
8181
draft: false
8282
prerelease: false
8383
generate_release_notes: true

0 commit comments

Comments
 (0)