Add create release step to workflow

This commit is contained in:
Andrei Betlen 2023-04-10 01:54:52 -04:00
parent 8594b8388e
commit d41cb0ecf7

View file

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