Skip to content

Commit

Permalink
Remove uses of deprecated set-output workflow commands
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 14, 2022
1 parent 26bc182 commit 3de9afa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com

- Fix invalid version format check introduced in 1.4.0.

- Remove uses of [deprecated set-output workflow commands](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands).

## [1.6.0] - 2022-09-08

- Add `token` input option to use the specified token instead of `GITHUB_TOKEN` environment variable.
Expand Down
4 changes: 2 additions & 2 deletions main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ GITHUB_TOKEN="${token}" gh release create "${release_options[@]}" --title "${tit

# set (computed) prefix and version outputs for future step use
computed_prefix=${tag%"${version}"}
echo "::set-output name=computed-prefix::${computed_prefix}"
echo "::set-output name=version::${version}"
echo "computed-prefix=${computed_prefix}" >>"${GITHUB_OUTPUT}"
echo "version=${version}" >>"${GITHUB_OUTPUT}"

0 comments on commit 3de9afa

Please sign in to comment.