Skip to content

Commit

Permalink
separate pypi and testpypi publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ravnoor committed Dec 22, 2023
1 parent a1be9c1 commit 17ff1d7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/wheels-macos_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,22 @@ jobs:
skip_existing: true
verbose: true


testpypi-publish:
name: Upload release to TestPyPI
needs: [build_wheels]
runs-on: ubuntu-latest
steps:
# retrieve your distributions here
- name: Download artifacts
# needs: [build_wheels, build_sdist]
uses: actions/download-artifact@v4
with:
# unpacks all CIBW artifacts into dist/
pattern: ${{ env.PACKAGE_NAME }}-${{ env.PACKAGE_VERSION }}*
path: dist
merge-multiple: true

- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 17ff1d7

Please sign in to comment.