ci: Use GITHUB_OUTPUT envvar instead of set-output command

This commit is contained in:
Arun 2024-01-11 17:05:00 -08:00
parent 61a1a17318
commit 516b906d9b
No known key found for this signature in database

View File

@ -17,7 +17,7 @@ jobs:
- name: Get version
id: get_version
if: startsWith(github.ref, 'refs/tags/') && startsWith(github.repository, 'Binaryify/NeteaseCloudMusicApi')
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and publish image