Skip to content

Commit bcb00bc

Browse files
Update calls to set-output in GHA (#22)
`set-output` is set to be deprecated in 2023. This change migrates calls to set-output to using the GITHUB_OUTPUT env file instead as per GH's recommendation.
1 parent 3078df6 commit bcb00bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tag-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
id: get_version
1818
run: |
1919
version=$(grep "^version=" aws-connect |cut -f2 -d"=")
20-
echo ::set-output name=version::$version
21-
echo ::set-output name=version_tag::v$version
20+
echo version=$version >> $GITHUB_OUTPUT
21+
echo version_tag=v$version >> $GITHUB_OUTPUT
2222
2323
- name: Tag commit
2424
uses: tvdias/[email protected]

0 commit comments

Comments
 (0)