mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 03:46:10 +08:00
ci: 发布时同时上传至 Release Assets
This commit is contained in:
parent
52ba6eae4c
commit
f2d7e9b541
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -37,6 +37,13 @@ jobs:
|
||||
|
||||
- name: Publish PyPI
|
||||
run: poetry publish --build -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} || echo "Already pushed to pypi"
|
||||
|
||||
- name: Upload Release Assets
|
||||
uses: alexellis/upload-assets@0.2.3
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
asset_paths: '["./dist/*"]'
|
||||
publish-docker:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-frontend
|
||||
|
Loading…
x
Reference in New Issue
Block a user