Add create release step to workflow
This commit is contained in:
parent
8594b8388e
commit
d41cb0ecf7
1 changed files with 17 additions and 1 deletions
18
.github/workflows/build-and-release.yaml
vendored
18
.github/workflows/build-and-release.yaml
vendored
|
@ -49,4 +49,20 @@ jobs:
|
|||
python setup.py sdist
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: ./dist/*.tar.gz
|
||||
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