From 519589ac17f065ce3fbd9cb193e17667a5d38e08 Mon Sep 17 00:00:00 2001 From: mattip Date: Sun, 13 Feb 2022 23:20:53 +0200 Subject: [PATCH] BUILD: make sure a python3 is on the path --- .github/workflows/wheels.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 64d7e990af4a..5d1c1f7978b1 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"