diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4513aa5b..a79f1141 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -467,11 +467,6 @@ jobs: secret_prefix: 'PYPI' secret_name: ${{ secrets.PYPI_SECRET_NAME }} parse_json: true - - name: Install Dependencies - run: | - sudo -H python3 -m pip install black build twine - sudo apt-get install mypy - sudo apt-get install tree - uses: actions/download-artifact@v3 with: path: artifacts @@ -479,6 +474,15 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.11 + - name: Install Dependencies + run: | + python3 --version + python3 -m pip install black build twine + pip show black + pip show build + pip show twine + sudo apt-get install mypy + sudo apt-get install tree - name: Copy bindings run: | mkdir ./interop/python/radix_engine_toolkit @@ -522,8 +526,8 @@ jobs: - name: Check Builds working-directory: ./interop/python/ run: | - twine check dist/* + python3 -m twine check dist/* - name: Publish working-directory: ./interop/python/ run: | - twine upload -u ${{ env.PYPI_USERNAME }} -p ${{ env.PYPI_PASSWORD }} dist/* + python3 -m twine upload -u ${{ env.PYPI_USERNAME }} -p ${{ env.PYPI_PASSWORD }} dist/*