Skip to content

Commit a758a18

Browse files
committed
Update set output to $GITHUB_OUTPUT
1 parent 733c0eb commit a758a18

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
id: set_unity_version
2424
run: |
2525
UNITY_VERSION=$(sed -n 's/^\m_EditorVersion: //p'< ./ProjectSettings/ProjectVersion.txt)
26-
echo "::set-output name=VERSION::$UNITY_VERSION"
26+
echo "VERSION={$UNITY_VERSION}" >> $GITHUB_OUTPUT
2727
2828
- name: Set tag
2929
id: set_tag
30-
run: echo "::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}"
30+
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
3131

3232
- name: Set target name
3333
id: set_build_name
34-
run: echo "::set-output name=VERSION::WebGL-${{ steps.set_tag.outputs.VERSION }}"
34+
run: echo "VERSION=WebGL-${{ steps.set_tag.outputs.VERSION }}" >> $GITHUB_OUTPUT
3535

3636
- name: Log variables
3737
run: |
@@ -105,7 +105,6 @@ jobs:
105105
uses: softprops/action-gh-release@v1
106106
with:
107107
body: |
108-
# ${{ needs.variables.outputs.UNITY_VERSION }}
109108
## Changes
110109
*
111110

0 commit comments

Comments
 (0)