summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"