Skip to content

Commit e52701f

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents c28d30d + dbcf37b commit e52701f

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
fetch-depth: 0 # required for version resolution
8989

9090
- name: Set up Pixi
91-
uses: prefix-dev/setup-pixi@v0.8.14
91+
uses: prefix-dev/setup-pixi@v0.9.0
9292
with:
9393
pixi-version: v0.49.0
9494
cache: false

.github/workflows/wheel.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Wheels
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# Run at 2:00 AM UTC daily
8+
- cron: '0 2 * * *'
9+
workflow_dispatch: # Allow manual trigger
410

511
concurrency:
612
group: ${{ github.workflow }}-${{ github.ref }}
@@ -96,3 +102,20 @@ jobs:
96102
user: __token__
97103
password: ${{ secrets.pypi_password }}
98104
# To test: repository_url: https://test.pypi.org/legacy/
105+
106+
upload_nightly:
107+
needs: [build_wheels]
108+
runs-on: ubuntu-latest
109+
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
110+
steps:
111+
- uses: actions/download-artifact@v4
112+
with:
113+
pattern: wheels-*
114+
path: dist
115+
merge-multiple: true
116+
117+
- name: Upload to scientific-python nightly channel
118+
uses: scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf
119+
with:
120+
artifacts_path: dist
121+
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_NIGHTLY_UPLOAD_TOKEN }}

0 commit comments

Comments
 (0)