diff --git a/CHANGELOG.md b/CHANGELOG.md index 36a09f9..ed7c2b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/main.sh b/main.sh index 9af6d20..400356f 100755 --- a/main.sh +++ b/main.sh @@ -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}"