Add create release step to workflow
This commit is contained in:
parent
8594b8388e
commit
d41cb0ecf7
1 changed files with 17 additions and 1 deletions
16
.github/workflows/build-and-release.yaml
vendored
16
.github/workflows/build-and-release.yaml
vendored
|
@ -50,3 +50,19 @@ jobs:
|
|||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: ./dist/*.tar.gz
|
||||
|
||||
release:
|
||||
name: Release
|
||||
needs: [build_wheels, build_sdist]
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: artifact
|
||||
path: dist
|
||||
- uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: dist/*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue