Skip to content

Commit db89387

Browse files
committed
build nightly wheels whenever a PR is merged
Closes #14419
1 parent 80f26fe commit db89387

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Nightly Wheels
2+
3+
concurrency:
4+
group: wheels
5+
cancel-in-progress: true
6+
7+
on:
8+
push:
9+
branches:
10+
- master
11+
paths:
12+
- "mesonbuild/*"
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
wheel:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
24+
- name: Build wheel
25+
run: |
26+
python -m pip install build setuptools_scm
27+
python -m build -nwx
28+
- name: Upload wheel
29+
uses: scientific-python/upload-nightly-action@main
30+
with:
31+
artifacts_path: dist
32+
anaconda_nightly_upload_token: ${{secrets.ANACONDA_ORG_UPLOAD_TOKEN}}

0 commit comments

Comments
 (0)