Merge pull request #1868 from arunsathiya/master

ci: Use GITHUB_OUTPUT envvar instead of set-output command
This commit is contained in:
binaryify 2024-01-12 09:26:39 +08:00 committed by GitHub
commit 32531f1331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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