From afe5b0136d4da5bdf09df03641f3d45e89f321a7 Mon Sep 17 00:00:00 2001 From: Philip Montgomery Date: Wed, 8 Jan 2025 22:45:39 -0500 Subject: [PATCH] more debugging --- .github/workflows/publish_breadbox_client.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_breadbox_client.yaml b/.github/workflows/publish_breadbox_client.yaml index 6b4f14da..a60e6e8e 100644 --- a/.github/workflows/publish_breadbox_client.yaml +++ b/.github/workflows/publish_breadbox_client.yaml @@ -6,10 +6,11 @@ on: jobs: publish-breadbox-client: - env: - POETRY_CACHE_DIR: "${{ env.HOME }}/.cache/pypoetry" runs-on: ubuntu-latest steps: + - name: "Compute poetry cache dir" + id: "poetry-cachedir" + run: 'echo POETRY_CACHEDIR="$HOME/.cache/pypoetry" >> "$GITHUB_OUTPUT"' - name: "Check out" uses: actions/checkout@v3 with: @@ -32,7 +33,7 @@ jobs: uses: actions/cache@v2 id: cached-poetry-dependencies with: - path: "${{ env.POETRY_CACHE_DIR }}" + path: "${{ steps.poetry-cachedir.outputs.POETRY_CACHEDIR }}" key: "breadbox-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('breadbox*/**/poetry.lock') }}" - name: "Install breadbox python dependencies" @@ -48,7 +49,7 @@ jobs: run: "poetry run ./bb update-client" - name: "peek at poetry cachedir" - run: "ls -l ${{ env.POETRY_CACHE_DIR }}/*" + run: "ls -l ${{ steps.poetry-cachedir.outputs.POETRY_CACHEDIR }}/*" - name: "Set up authentication for publishing breadbox client" working-directory: "./breadbox-client"