From c6472cbfc36b7446d50f6393af7580bca74b2c0b Mon Sep 17 00:00:00 2001 From: George Waters Date: Fri, 12 Apr 2024 12:07:06 -0400 Subject: [PATCH] Set default pipx python to setup-python executable --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 656153c..5f07fce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,8 @@ jobs: name: Build PyPI Package needs: notifications-build runs-on: ubuntu-22.04 + env: + PIPX_DEFAULT_PYTHON: ${{ steps.python.outputs.python-path }} defaults: run: shell: bash @@ -27,6 +29,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Setup Python + id: python uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }}