Skip to content

Commit

Permalink
Merge pull request #191 from microsoft/twine-publish-testpypi
Browse files Browse the repository at this point in the history
PyPI test publication
  • Loading branch information
daxpryce authored Jan 6, 2023
2 parents 57141d1 + 9e7625b commit 8079193
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 8079193

Please sign in to comment.