1
0
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:
涵曦
2025-01-04 18:45:31 +08:00
committed by GitHub
parent 2cf883bcf4
commit dab756da7f

View File

@@ -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