Skip to content

Commit 3bf9385

Browse files
committed
feat(ci): Add release url to notification
1 parent 7728464 commit 3bf9385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
if: github.ref_type == 'tag'
171171
run: |
172172
echo "RELEASE_TYPE=release draft" >> $GITHUB_ENV
173-
echo "RELEASE_ADDR=https://github.com/${{ github.repository }}/releases/" >> $GITHUB_ENV
173+
echo "RELEASE_ADDR=${{ steps.github.release.url }}" >> $GITHUB_ENV
174174
175175
- name: Notify on success
176176
if: needs.build.result == 'success' && needs.test.result == 'success' && (needs.release.result == 'success' || github.event_name == 'schedule')

0 commit comments

Comments
 (0)