-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage to deprecated 'set-output' command
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
- Loading branch information
1 parent
db57a52
commit f059523
Showing
3 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,10 @@ jobs: | |
id: check_release_drafter | ||
run: | | ||
has_release_drafter=$([ -f .github/release-drafter.yml ] && echo "true" || echo "false") | ||
echo ::set-output name=has_release_drafter::${has_release_drafter} | ||
echo "has_release_drafter=${has_release_drafter}" >> $GITHUB_OUTPUT | ||
- name: Extract branch name | ||
id: extract_branch | ||
run: echo ::set-output name=value::${GITHUB_REF:11} | ||
run: echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT | ||
# If it has release drafter: | ||
- uses: release-drafter/[email protected] | ||
if: steps.check_release_drafter.outputs.has_release_drafter == 'true' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters