Skip to content

Commit

Permalink
Publish wheels to test.pypi.org
Browse files Browse the repository at this point in the history
  • Loading branch information
mmghannam committed Dec 8, 2023
1 parent 1154eac commit 7957bfd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ jobs:
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/tests"

- uses: actions/upload-artifact@v3
# - uses: actions/upload-artifact@v3
# with:
# path: ./wheelhouse/*.whl

- name: "Publish to test.pypi.org"
uses: pypa/gh-action-pypi-publish@release/v1
with:
path: ./wheelhouse/*.whl
repository_url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.TESTPYPI_API_TOKEN }}
verbose: true
packages_dir: ./wheelhouse/

0 comments on commit 7957bfd

Please sign in to comment.