mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-04 17:38:55 +08:00
ci: Use GITHUB_OUTPUT envvar instead of set-output command
This commit is contained in:
parent
61a1a17318
commit
516b906d9b
2
.github/workflows/Build_Image.yml
vendored
2
.github/workflows/Build_Image.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
- name: Get version
|
- name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
if: startsWith(github.ref, 'refs/tags/') && startsWith(github.repository, 'Binaryify/NeteaseCloudMusicApi')
|
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
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Build and publish image
|
- name: Build and publish image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user