##// 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 1 on:
15 2 workflow_dispatch:
16 3 name: Nightly Wheel builder
17 4
18 upload_anaconda:
19 name: Upload to Anaconda
20 runs-on: ubuntu-latest
21 # The artifacts cannot be uploaded on PRs
22 if: github.event_name != 'pull_request'
5 upload_anaconda:
6 name: Upload to Anaconda
7 runs-on: ubuntu-latest
8 # The artifacts cannot be uploaded on PRs
9 if: github.event_name != 'pull_request'
23 10
24 steps:
25 - uses: actions/checkout@v3
26 - name: Set up Python
27 uses: actions/setup-python@v4
28 with:
29 python-version: "3.10"
30 cache: pip
31 cache-dependency-path: |
32 setup.cfg
33 - name: Try building with Python build
34 if: runner.os != 'Windows' # setup.py does not support sdist on Windows
35 run: |
36 python -m build
11 steps:
12 - uses: actions/checkout@v3
13 - name: Set up Python
14 uses: actions/setup-python@v4
15 with:
16 python-version: "3.10"
17 cache: pip
18 cache-dependency-path: |
19 setup.cfg
20 - name: Try building with Python build
21 if: runner.os != 'Windows' # setup.py does not support sdist on Windows
22 run: |
23 python -m build
37 24
38 - name: Upload wheel
39 uses: scientific-python/upload-nightly-wheel
40 with:
41 artifact-names: dist/*.whl
42 anaconda-nightly-upload-token: ${secrets.UPLOAD_TOKEN}
25 - name: Upload wheel
26 uses: scientific-python/upload-nightly-wheel
27 with:
28 artifact-names: dist/*.whl
29 anaconda-nightly-upload-token: ${secrets.UPLOAD_TOKEN}
General Comments 0
You need to be logged in to leave comments. Login now