Skip to content

Commit 5e04d05

Browse files
CI Uses GITHUB_OUTPUT in github actions (#2219)
Signed-off-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Kevin Su <pingsutw@gmail.com>
1 parent 3be927c commit 5e04d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
# from refs/tags/v1.2.3 get 1.2.3
2626
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
27-
echo "::set-output name=version::$VERSION"
27+
echo "version=$VERSION" >> $GITHUB_OUTPUT
2828
shell: bash
2929
- name: Build and publish
3030
env:

0 commit comments

Comments
 (0)