Try to create artifacts (#61)

This commit is contained in:
Alessandro Molina 2022-06-03 11:17:45 +02:00 committed by GitHub
parent da8cefb4fb
commit f94878303e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 1 deletions

View File

@ -31,4 +31,30 @@ jobs:
- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl
path: ./wheelhouse/*.whl
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build sdist
run: python setup.py sdist
- uses: actions/upload-artifact@v2
with:
path: dist/*.tar.gz
store_tag_artifacts:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
with:
name: artifact
path: dist
- uses: softprops/action-gh-release@v1
with:
files: dist/*