mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-07 12:23:00 +08:00
ci: 发布时同时上传至 Release Assets
This commit is contained in:
parent
a9b0d57050
commit
603be8eaf6
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