Skip to content

Commit

Permalink
Fix nightly upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 committed Feb 27, 2024
1 parent e7eedc0 commit 4928580
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
name: contourpy-sdist
path: dist/*.tar.gz

merge:
merge_wheels:
name: Merge wheel build artifacts
runs-on: ubuntu-latest
needs: build_wheels
Expand All @@ -121,10 +121,19 @@ jobs:
name: Upload nightly wheels
if: github.repository_owner == 'contourpy' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: merge
needs: merge_wheels
steps:
- name: Upload wheels
- name: Download merged wheel artifact
uses: actions/download-artifact@v4
with:
name: contourpy-wheels
path: dist

- name: List wheels
run: ls -l dist

- name: Upload wheels to scientific python
uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0
with:
artifacts_path: contourpy-wheels
artifacts_path: dist
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}

0 comments on commit 4928580

Please sign in to comment.