summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-02-14 10:54:31 +0200
committerGitHub <noreply@github.com>2022-02-14 10:54:31 +0200
commit3e8dedab8c126636013794f8d1130476f086be0a (patch)
treea535d26b89a7847aad3184c21f40b55c76d9ecba
parentd14d94c78e0c3e24e089eb8c40c2c79f7de190c2 (diff)
parent519589ac17f065ce3fbd9cb193e17667a5d38e08 (diff)
downloadnumpy-3e8dedab8c126636013794f8d1130476f086be0a.tar.gz
Merge pull request #21053 from mattip/upload6
BUILD: make sure a python3 is on the path
-rw-r--r--.github/workflows/wheels.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 64d7e990a..5d1c1f797 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -89,6 +89,12 @@ jobs:
# A shallow clone can work when the following issue is resolved:
# https://github.com/actions/checkout/issues/338
fetch-depth: 0
+
+ # Used to push the built wheels
+ - uses: actions/setup-python@v2
+ with:
+ python-version: '3.x'
+
- name: Configure mingw for 32-bit builds
run: |
# Force 32-bit mingw
@@ -159,7 +165,7 @@ jobs:
if [ -z ${TOKEN} ]; then
echo no token set, not uploading
else
- python3 -m pip install git+https://github.com/Anaconda-Server/anaconda-client
+ python -m pip install git+https://github.com/Anaconda-Server/anaconda-client
ls ./wheelhouse/*.whl
anaconda -t ${TOKEN} upload --no-progress --skip -u ${ANACONDA_ORG} ./wheelhouse/*.whl
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"