summaryrefslogtreecommitdiff
path: root/.github/workflows/nightly.yml
blob: 79332196c173e83ad33bc91bdc9d57600efeff4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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}}