Try to create artifacts

This commit is contained in:
alessandro.molina 2022-06-02 11:51:20 -04:00
parent da8cefb4fb
commit 2a2f6406a0
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/*