summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-02-13 10:14:30 +0200
committerGitHub <noreply@github.com>2022-02-13 10:14:30 +0200
commit358cce3bf568dfaa69c634f3ad1577deed2b6c62 (patch)
tree118cee9963aeabf108402b5e731e5037c8ae6759 /.github
parent4c60b3263ac50e5e72f6a909e156314fc3c9cba0 (diff)
parentcbc2d8dae5c8b15300a7ab8c659722cb311b0d8c (diff)
downloadnumpy-358cce3bf568dfaa69c634f3ad1577deed2b6c62.tar.gz
Merge pull request #21035 from mattip/token
BUILD: remove condition on upload step
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/wheels.yml19
1 files changed, 8 insertions, 11 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 9655f23f6..7cb5df55c 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -137,6 +137,12 @@ jobs:
if: success()
shell: bash
run: |
+ # trigger an upload to
+ # https://anaconda.org/scipy-wheels-nightly/numpy
+ # for cron jobs or "Run workflow" (restricted to main branch).
+ # Tags will upload to
+ # https://anaconda.org/multibuild-wheels-staging/numpy
+ # The tokens were originally generated at anaconda.org
if [ "push" == "${{ github.event_name }}" ] && [ "${{ startsWith(github.ref, 'refs/tags/v') }}" ]; then
echo push and tag event
echo "ANACONDA_ORG=multibuild-wheels-staging" >> $GITHUB_ENV
@@ -151,17 +157,8 @@ jobs:
echo non-dispatch event
echo "ANACONDA_UPLOAD=false" >> $GITHUB_ENV
fi
- - name: Upload wheels
- if: ${{ env.TOKEN }}
- shell: bash
- run: |
- # trigger an upload to
- # https://anaconda.org/scipy-wheels-nightly/numpy
- # for cron jobs or "Run workflow" (restricted to main branch).
- # Tags will upload to
- # https://anaconda.org/multibuild-wheels-staging/numpy
- # The tokens were originally generated at anaconda.org
- echo ${PWD}
+ # Now do the upload as needed
+ # echo ${PWD}
if [ ${ANACONDA_UPLOAD} == true ]; then
if [ -z ${TOKEN} ]; then
echo no token set, not uploading