update: CI 更新

This commit is contained in:
binaryify 2023-10-22 13:57:09 +08:00
parent 0816c7411e
commit 4d201f20eb

View File

@ -18,6 +18,10 @@ jobs:
id: get_version
if: startsWith(github.ref, 'refs/tags/') && startsWith(github.repository, 'Binaryify/NeteaseCloudMusicApi')
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Set Swap Space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 10
- name: Build and publish image
uses: ilteoood/docker_buildx@master
if: startsWith(github.ref, 'refs/tags/') && startsWith(github.repository, 'Binaryify/NeteaseCloudMusicApi')