Skip to content

Commit ba6f9f4

Browse files
hugovkjeromekelleher
authored andcommitted
Fix deprecation warning in GHA
1 parent c268187 commit ba6f9f4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ jobs:
3939
python docs/convert_changelog.py python/CHANGELOG.rst > PYTHON-CHANGELOG.txt
4040
- name: Get the version
4141
id: get_version
42-
run:
43-
echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
42+
run: echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_OUTPUT
4443
- name: C Release
4544
uses: softprops/action-gh-release@v2.5.0
4645
if: startsWith(github.ref, 'refs/tags/') && contains(github.event.ref, 'C_')

0 commit comments

Comments
 (0)