Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/workflows/wheel.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Wheels

on: [push, pull_request]
on:
push:
pull_request:
schedule:
# Run at 2:00 AM UTC daily
- cron: '0 2 * * *'
workflow_dispatch: # Allow manual trigger

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -96,3 +102,20 @@ jobs:
user: __token__
password: ${{ secrets.pypi_password }}
# To test: repository_url: https://test.pypi.org/legacy/

upload_nightly:
needs: [build_wheels]
runs-on: ubuntu-latest
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/download-artifact@v4
with:
pattern: wheels-*
path: dist
merge-multiple: true

- name: Upload to scientific-python nightly channel
uses: scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf
with:
artifacts_path: dist
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_NIGHTLY_UPLOAD_TOKEN }}
Loading