Skip to content

Commit 52fd83f

Browse files
AnthonyPorthouselolgab
authored andcommitted
fix: migrate away from ::set-output
This change is noted in warning output from actions. For reference they link to [this blog article](https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/)
1 parent 1321b4d commit 52fd83f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
--major-identifier="${{ inputs.major-identifier }}" \
5858
--version-prefix "${{ inputs.prefix }}")
5959
60-
echo "::set-output name=previous-version::$PREVIOUS_VERSION"
60+
echo "previous-version=$PREVIOUS_VERSION" >> $GITHUB_OUTPUT
6161
echo "Previous Version: $PREVIOUS_VERSION"
6262
- id: version
6363
shell: bash
@@ -73,5 +73,5 @@ runs:
7373
--major-identifier="${{ inputs.major-identifier }}" \
7474
--version-prefix "${{ inputs.prefix }}")
7575
76-
echo "::set-output name=version::$VERSION"
76+
echo "version=$VERSION" >> $GITHUB_OUTPUT
7777
echo "New Version: $VERSION"

0 commit comments

Comments
 (0)