Skip to content

Commit

Permalink
Fix wheel push config
Browse files Browse the repository at this point in the history
  • Loading branch information
benjeffery committed Aug 30, 2023
1 parent a5ba36a commit 42ed7e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ jobs:
runs-on: ubuntu-latest
environment: release
needs: ['windows-test', 'OSX-test', 'linux-test']
permissions:
id-token: write
steps:
- name: Download all
uses: actions/download-artifact@v3
Expand All @@ -118,10 +120,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution to PRODUCTION PyPI
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}

0 comments on commit 42ed7e3

Please sign in to comment.