update: CI 更新
This commit is contained in:
4
.github/workflows/Build_Image.yml
vendored
4
.github/workflows/Build_Image.yml
vendored
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user