Skip to content

Commit b6c46a1

Browse files
committed
Test publish
1 parent 088d8ab commit b6c46a1

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,30 @@ jobs:
149149
upload_pypi:
150150
needs: [build_wheels, build_sdist]
151151
runs-on: ubuntu-latest
152-
environment: pypi
152+
environment:
153+
name: pypi
154+
url: https://pypi.org/p/stochastic-arrow
153155
permissions:
154156
id-token: write
155157
if: github.event_name == 'release' && github.event.action == 'published'
158+
steps:
159+
- uses: actions/download-artifact@v4
160+
with:
161+
# unpacks all CIBW artifacts into dist/
162+
pattern: cibw-*
163+
path: dist
164+
merge-multiple: true
165+
166+
- uses: pypa/gh-action-pypi-publish@release/v1
167+
168+
upload_pypi_test:
169+
needs: [build_wheels, build_sdist]
170+
runs-on: ubuntu-latest
171+
environment:
172+
name: testpypi
173+
url: https://test.pypi.org/p/stochastic-arrow
174+
permissions:
175+
id-token: write
156176
steps:
157177
- uses: actions/download-artifact@v4
158178
with:

0 commit comments

Comments
 (0)