mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-06 14:52:50 +08:00
Update ci.yml
This commit is contained in:
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
@@ -263,33 +263,3 @@ jobs:
|
||||
echo "type upload ${FILE}"
|
||||
gh release upload "${RELEASE_NAME}" "${FILE}" --clobber
|
||||
done
|
||||
|
||||
# 上传文件到 gitee
|
||||
- name: Upload assets to gitee Release main
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: nicennnnnnnlee/action-gitee-release@v1.0.5
|
||||
with:
|
||||
gitee_owner: hanxi
|
||||
gitee_repo: xiaomusic
|
||||
gitee_token: ${{ secrets.GITEE_TOKEN }}
|
||||
gitee_tag_name: test
|
||||
gitee_release_name: Test
|
||||
gitee_release_body: This release is automatically updated from the main branch.
|
||||
gitee_target_commitish: main
|
||||
gitee_release_id: test
|
||||
gitee_upload_retry_times: 3
|
||||
gitee_files: app-*.tar.gz
|
||||
|
||||
- name: Upload assets to gitee Release tag
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: nicennnnnnnlee/action-gitee-release@v1.0.5
|
||||
with:
|
||||
gitee_owner: hanxi
|
||||
gitee_repo: xiaomusic
|
||||
gitee_token: ${{ secrets.GITEE_TOKEN }}
|
||||
gitee_tag_name: ${{ github.ref_name }}
|
||||
gitee_release_name: ${{ github.ref_name }}
|
||||
gitee_release_body: This release is automatically updated from the ${{ github.ref_name }} tag.
|
||||
gitee_target_commitish: ${{ github.ref_name }}
|
||||
gitee_upload_retry_times: 3
|
||||
gitee_files: app-*-lite.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user