From 61f12d88e8e8c5dd734457d4a419f8d615b422b7 Mon Sep 17 00:00:00 2001 From: Jonathan Green Date: Tue, 12 Mar 2024 11:40:32 -0300 Subject: [PATCH] Fix poetry cache -- maybe --- .github/actions/poetry/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/poetry/action.yml b/.github/actions/poetry/action.yml index fe694a844f..a62dfe9f24 100644 --- a/.github/actions/poetry/action.yml +++ b/.github/actions/poetry/action.yml @@ -18,18 +18,18 @@ runs: - uses: actions/cache@v4 id: cache with: - path: $HOME/.poetry + path: ${{ runner.temp }}/poetry key: ${{ runner.os }}-poetry-install-${{ inputs.version }} - run: curl -sSL https://install.python-poetry.org | python - --yes --version ${{ inputs.version }} env: - POETRY_HOME: $HOME/.poetry + POETRY_HOME: ${{ runner.temp }}/poetry if: steps.cache.outputs.cache-hit != 'true' shell: bash - run: echo "$POETRY_HOME/bin" >> $GITHUB_PATH env: - POETRY_HOME: $HOME/.poetry + POETRY_HOME: ${{ runner.temp }}/poetry shell: bash - id: poetry-version