Skip to content

Commit

Permalink
Adding twine publication to testpypi. This will validate our release …
Browse files Browse the repository at this point in the history
…flow and publication to the test pypi repository.
  • Loading branch information
daxpryce committed Jan 6, 2023
1 parent 57141d1 commit 9e7625b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,19 @@ jobs:
run: |
sha256sum wheelhouse/*.whl > checksums.txt
cat checksums.txt
- uses: actions/setup-python@v3
- name: Install twine
run: python -m pip install twine
- name: Publish with twine
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload --repository testpypi wheelhouse/*.whl
- name: Update release with SHA256 and Artifacts
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
wheelhouse/*.whl
checksums.txt

0 comments on commit 9e7625b

Please sign in to comment.