From e5c7a95a96e5428cff967e23db0ec8d7bf39a2eb Mon Sep 17 00:00:00 2001 From: George Waters Date: Fri, 12 Apr 2024 16:06:16 -0400 Subject: [PATCH] Fix setting default pipx python --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f07fce..c4a970e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,8 +20,6 @@ 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 @@ -33,6 +31,10 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} + - name: Set pipx default python + env: + PIPX_DEFAULT_PYTHON: ${{ steps.python.outputs.python-path }} + run: echo "PIPX_DEFAULT_PYTHON=$PIPX_DEFAULT_PYTHON" >> "$GITHUB_ENV" - name: Setup Poetry uses: ./.github/actions/setup-poetry - name: Get notification apps