forked from cython/cython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .github/workflows/nightly-wheels.yml
Co-authored-by: Matthew Feickert <[email protected]>
- Loading branch information
1 parent
b99a9e3
commit a8cc9dd
Showing
1 changed file
with
5 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,27 +55,9 @@ jobs: | |
name: pure-wheel | ||
path: ./dist/*.whl | ||
|
||
- uses: conda-incubator/[email protected] | ||
with: | ||
# for installation of anaconda-client, required for upload to | ||
# anaconda.org | ||
# default (and activated) environment name is test | ||
# Note that this step is *after* specific pythons have been used to | ||
# build | ||
auto-update-conda: true | ||
python-version: "3.10" | ||
|
||
- name: Upload wheels to scientific-python-nightly-wheels | ||
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | ||
shell: bash -el {0} | ||
# see https://github.com/marketplace/actions/setup-miniconda for why | ||
# `-el {0}` is required. | ||
env: | ||
TOKEN: ${{ secrets.CYTHON_NIGHTLY_UPLOAD_TOKEN }} | ||
run: | | ||
source Tools/upload-wheels.sh | ||
# trigger an upload to | ||
# https://anaconda.org/scientific-python-nightly-wheels/numpy | ||
# for cron jobs or "Run workflow" (restricted to main branch). | ||
# The tokens were originally generated at anaconda.org | ||
upload_wheels | ||
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' | ||
uses: scientific-python/upload-nightly-action@b67d7fcc0396e1128a474d1ab2b48aa94680f9fc # 0.5.0 | ||
with: | ||
artifacts_path: dist | ||
anaconda_nightly_upload_token: ${{ secrets.CYTHON_NIGHTLY_UPLOAD_TOKEN }} |