Skip to content

Commit f987a76

Browse files
committed
Remote set-output warning
1 parent dad07f1 commit f987a76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
steps:
1616
- name: Set tag version
1717
id: get_version
18-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
19-
shell: bash
18+
run: |
19+
VERSION=${GITHUB_REF_NAME#v} #This removes the 'v' from the tag
20+
echo Version: $VERSION
21+
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
2022
2123
- uses: actions/checkout@v3
2224

0 commit comments

Comments
 (0)