Skip to content

Commit 394513f

Browse files
committed
simplify
1 parent fea3b6a commit 394513f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,13 @@ jobs:
156156
generateReleaseNotes: true
157157

158158
- name: Summary
159+
env:
160+
VERSION: ${{ steps.version.outputs.version }}
159161
if: always()
160162
run: |
161163
echo "## Release Summary" >> $GITHUB_STEP_SUMMARY
162164
echo "" >> $GITHUB_STEP_SUMMARY
163-
echo "- **Version**: ${{ needs.release.outputs.version }}" >> $GITHUB_STEP_SUMMARY
165+
echo "- **Version**: $VERSION" >> $GITHUB_STEP_SUMMARY
164166
echo "- **Branch**: ${{ github.ref_name }}" >> $GITHUB_STEP_SUMMARY
165-
echo "- **Status**: ${{ needs.release.result }}" >> $GITHUB_STEP_SUMMARY
167+
echo "- **Status**: ${{ job.status }}" >> $GITHUB_STEP_SUMMARY
166168
echo "- **Repository**: https://github.com/${{ github.repository }}/packages" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)