Update .gitea/workflows/release.yaml
This commit is contained in:
@@ -18,12 +18,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '>=1.20.1'
|
go-version: '>=1.20.1'
|
||||||
- run: cd YouTubeMusic && zip -r YouTubeMusic.zip . && mv YouTubeMusic.zip ../
|
- run: cd YouTubeMusic && zip -r YouTubeMusic.zip . && mv YouTubeMusic.zip ../
|
||||||
- run: sha1sum YouTubeMusic.zip > YouTubeMusic.sha
|
- run: sha1=$(sha1sum YouTubeMusic.zip) | cut -d ' ' -f1) && sed -i "s|<sha></sha>|<sha>$sha1</sha>|" repo.xml
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: https://gitea.com/actions/release-action@main
|
||||||
with:
|
with:
|
||||||
tag_name: 0.0.1
|
tag_name: 0.0.1
|
||||||
files: |-
|
files: |-
|
||||||
YouTubeMusic.zip
|
YouTubeMusic.zip
|
||||||
YouTubeMusic.sha
|
repo.xml
|
||||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
|
|||||||
Reference in New Issue
Block a user