diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 8231b84..fdd17ba 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -31,4 +31,30 @@ jobs: - uses: actions/upload-artifact@v2 with: - path: ./wheelhouse/*.whl \ No newline at end of file + 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/* + \ No newline at end of file