Skip to content

Commit 6133254

Browse files
committed
CI: Add nightly wheel upload
1 parent d078e03 commit 6133254

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ jobs:
164164
name: Publish on PyPI
165165
needs: [make_sdist,build_wheels]
166166
runs-on: ubuntu-latest
167-
# release on every tag
168-
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')
169167
steps:
170168
- uses: actions/download-artifact@v4
171169
with:
@@ -193,9 +191,18 @@ jobs:
193191
path: dist
194192

195193
- name: Upload Wheels to PyPI
194+
# release on every tag
195+
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')
196196
uses: pypa/gh-action-pypi-publish@release/v1
197197
with:
198198
user: __token__
199199
password: ${{ secrets.PYPI_API_TOKEN }}
200200
skip_existing: true
201201
# repository_url: https://test.pypi.org/legacy/ # To test
202+
203+
204+
- name: Upload Nightly Wheels
205+
uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc
206+
with:
207+
artifacts_path: dist
208+
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}

0 commit comments

Comments
 (0)