Update TestPyPI release workflow

This commit is contained in:
Pradyun Gedam 2021-07-28 10:04:48 +01:00
parent 42378b671c
commit ff18a368d5
No known key found for this signature in database
GPG Key ID: FF99710C4332258E
1 changed files with 2 additions and 6 deletions

View File

@ -21,19 +21,15 @@ jobs:
- name: Generate final distribution
run: python -m build
- name: Get the release version
id: version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
# Upload to GitHub Actions artifacts
- uses: actions/upload-artifact@v2
with:
name: sdist
path: dist/furo-${{ steps.version.outputs.VERSION }}.tar.gz
path: dist/furo-*.tar.gz
- uses: actions/upload-artifact@v2
with:
name: wheel
path: dist/furo-${{ steps.version.outputs.VERSION }}-py3-none-any.whl
path: dist/furo-*-py3-none-any.whl
upload:
runs-on: ubuntu-latest