mirror of
https://github.com/mesonbuild/meson.git
synced 2026-06-30 19:57:45 +00:00
build nightly wheels whenever a PR is merged
Closes https://github.com/mesonbuild/meson/issues/14419
This commit is contained in:
32
.github/workflows/nightly.yml
vendored
Normal file
32
.github/workflows/nightly.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Nightly Wheels
|
||||
|
||||
concurrency:
|
||||
group: wheels
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "mesonbuild/*"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
wheel:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Build wheel
|
||||
run: |
|
||||
python -m pip install build setuptools_scm
|
||||
python -m build -nwx
|
||||
- name: Upload wheel
|
||||
uses: scientific-python/upload-nightly-action@main
|
||||
with:
|
||||
artifacts_path: dist
|
||||
anaconda_nightly_upload_token: ${{secrets.ANACONDA_ORG_UPLOAD_TOKEN}}
|
||||
Reference in New Issue
Block a user