ci: 发布时同时上传至 Release Assets

This commit is contained in:
hemengyang 2022-05-19 12:50:12 +00:00 committed by felinae98
parent a9b0d57050
commit 603be8eaf6
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

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