更新release配置

This commit is contained in:
赵小蒙
2024-03-01 17:51:06 +08:00
parent ec51cd8e6b
commit d2380d5a14
2 changed files with 21 additions and 1 deletions
+20
View File
@@ -43,3 +43,23 @@ jobs:
path: dist/*.whl
retention-days: 30
release:
needs: [ build ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: wheel-file
path: dist
- name: Create and Upload Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: './dist/*.whl'
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}