##// END OF EJS Templates
try fix yaml
Matthias Bussonnier -
Show More
@@ -1,42 +1,29 b''
1 # Workflow to build and test wheels.
2 # To work on the wheel building infrastructure on a fork, comment out:
3 #
4 # if: github.repository == 'numpy/numpy'
5 #
6 # in the get_commit_message job. Be sure to include [wheel build] in your commit
7 # message to trigger the build. All files related to wheel building are located
8 # at tools/wheels/
9 # Alternatively, you can add labels to the pull request in order to trigger wheel
10 # builds.
11 # The labels that trigger builds are:
12 # 36 - Build(for changes to the building process,
13 # 14 - Release(ensure wheels build before release)
14 on:
1 on:
15 workflow_dispatch:
2 workflow_dispatch:
16 name: Nightly Wheel builder
3 name: Nightly Wheel builder
17
4
18 upload_anaconda:
5 upload_anaconda:
19 name: Upload to Anaconda
6 name: Upload to Anaconda
20 runs-on: ubuntu-latest
7 runs-on: ubuntu-latest
21 # The artifacts cannot be uploaded on PRs
8 # The artifacts cannot be uploaded on PRs
22 if: github.event_name != 'pull_request'
9 if: github.event_name != 'pull_request'
23
10
24 steps:
11 steps:
25 - uses: actions/checkout@v3
12 - uses: actions/checkout@v3
26 - name: Set up Python
13 - name: Set up Python
27 uses: actions/setup-python@v4
14 uses: actions/setup-python@v4
28 with:
15 with:
29 python-version: "3.10"
16 python-version: "3.10"
30 cache: pip
17 cache: pip
31 cache-dependency-path: |
18 cache-dependency-path: |
32 setup.cfg
19 setup.cfg
33 - name: Try building with Python build
20 - name: Try building with Python build
34 if: runner.os != 'Windows' # setup.py does not support sdist on Windows
21 if: runner.os != 'Windows' # setup.py does not support sdist on Windows
35 run: |
22 run: |
36 python -m build
23 python -m build
37
24
38 - name: Upload wheel
25 - name: Upload wheel
39 uses: scientific-python/upload-nightly-wheel
26 uses: scientific-python/upload-nightly-wheel
40 with:
27 with:
41 artifact-names: dist/*.whl
28 artifact-names: dist/*.whl
42 anaconda-nightly-upload-token: ${secrets.UPLOAD_TOKEN}
29 anaconda-nightly-upload-token: ${secrets.UPLOAD_TOKEN}
General Comments 0
You need to be logged in to leave comments. Login now