Show More
@@ -1,31 +1,31 b'' | |||
|
1 | 1 | name: Nightly Wheel builder |
|
2 | 2 | on: |
|
3 | 3 | workflow_dispatch: |
|
4 | 4 | |
|
5 | 5 | jobs: |
|
6 | 6 | upload_anaconda: |
|
7 | 7 | name: Upload to Anaconda |
|
8 | 8 | runs-on: ubuntu-latest |
|
9 | 9 | # The artifacts cannot be uploaded on PRs |
|
10 | 10 | if: github.event_name != 'pull_request' |
|
11 | 11 | |
|
12 | 12 | steps: |
|
13 | 13 | - uses: actions/checkout@v3 |
|
14 | 14 | - name: Set up Python |
|
15 | 15 | uses: actions/setup-python@v4 |
|
16 | 16 | with: |
|
17 | 17 | python-version: "3.10" |
|
18 | 18 | cache: pip |
|
19 | 19 | cache-dependency-path: | |
|
20 | 20 | setup.cfg |
|
21 | 21 | - name: Try building with Python build |
|
22 | 22 | if: runner.os != 'Windows' # setup.py does not support sdist on Windows |
|
23 | 23 | run: | |
|
24 | 24 | python -m pip install build |
|
25 | 25 | python -m build |
|
26 | 26 | |
|
27 | 27 | - name: Upload wheel |
|
28 | 28 | uses: scientific-python/upload-nightly-action@main |
|
29 | 29 | with: |
|
30 | 30 | artifacts_path: dist/ |
|
31 | anaconda_nightly_upload_token: ${secrets.UPLOAD_TOKEN} | |
|
31 | anaconda_nightly_upload_token: ${{secrets.UPLOAD_TOKEN}} |
General Comments 0
You need to be logged in to leave comments.
Login now