Skip to content

Commit

Permalink
update bld_wheels_and_upload.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Earammak committed Jun 22, 2023
1 parent 72b3152 commit b7d56f9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/bld_wheels_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: pypa/cibuildwheel@v2.12.1
env:
CIBW_SKIP: "*-win32"
CIBW_SKIP: "pp*"
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
Expand Down Expand Up @@ -87,7 +88,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
# upload to PyPI on every tag starting with 'v'
#upload to PyPI on every tag starting with 'v'
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
# alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
Expand All @@ -100,6 +101,12 @@ jobs:
path: dist
- uses: pypa/gh-action-pypi-publish@v1.5.0
with:
user: {{secrets.TESTPYPI_USER}}
password: {{secrets.TESTPYPI_PASSWORD}}
user: ${{secrets.TESTPYPI_USER}}
password: ${{secrets.TESTPYPI_PASSWORD}}
repository_url: https://test.pypi.org/legacy/

- name: Release to PYPI
uses: pypa/gh-action-pypi-publish@master
with:
user: ${{secrets.TESTPYPI_USER}}
password: ${{secrets.TESTPYPI_PASSWORD}}

0 comments on commit b7d56f9

Please sign in to comment.