ci: set-output command is deprecated

This commit is contained in:
ReaJason
2025-02-23 02:33:09 +08:00
parent 56f0e8001d
commit bba2b2d211
+5 -1
View File
@@ -21,7 +21,11 @@ jobs:
- name: Get Version
id: get_version
uses: battila7/get-version-action@v2
run: |
VERSION=${GITHUB_REF#refs/tags/}
VERSION_WITHOUT_V=${VERSION#v}
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "version-without-v=$VERSION_WITHOUT_V" >> $GITHUB_OUTPUT
- name: Get ChangeLog
id: get_changelog