Skip to content

Commit

Permalink
Test publish
Browse files Browse the repository at this point in the history
  • Loading branch information
thalassemia committed Dec 5, 2024
1 parent 088d8ab commit b6c46a1
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,30 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi
environment:
name: pypi
url: https://pypi.org/p/stochastic-arrow
permissions:
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
with:
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1

upload_pypi_test:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/stochastic-arrow
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit b6c46a1

Please sign in to comment.