Skip to content

Commit

Permalink
Fix poetry cache -- maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Mar 12, 2024
1 parent cc3260c commit 61f12d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61f12d8

Please sign in to comment.