Skip to content

Commit

Permalink
CI Uses GITHUB_OUTPUT in github actions (#2219)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas J. Fan <[email protected]>
Co-authored-by: Kevin Su <[email protected]>
  • Loading branch information
thomasjpfan and pingsutw authored Feb 29, 2024
1 parent 3be927c commit 5e04d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
# from refs/tags/v1.2.3 get 1.2.3
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
echo "::set-output name=version::$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
shell: bash
- name: Build and publish
env:
Expand Down

0 comments on commit 5e04d05

Please sign in to comment.