attempt to fix poetry windows cache issue

pr_demod2400
Xavier Olive 2 years ago
parent 8f098671a0
commit a8f3b9c811

@ -41,6 +41,11 @@ jobs:
path: ~/.local path: ~/.local
key: poetry-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }} key: poetry-${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('**/poetry.lock') }}
- name: Add poetry to windows path
if: "startsWith(runner.os, 'windows')"
run: |
echo "C:\Users\runneradmin\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install and configure Poetry - name: Install and configure Poetry
uses: snok/install-poetry@v1.3.3 uses: snok/install-poetry@v1.3.3
with: with:
@ -48,11 +53,6 @@ jobs:
virtualenvs-create: true virtualenvs-create: true
virtualenvs-in-project: true virtualenvs-in-project: true
- name: Add poetry to windows path
if: "startsWith(runner.os, 'windows')"
run: |
echo "C:\Users\runneradmin\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install dependencies - name: Install dependencies
run: | run: |
poetry install poetry install

Loading…
Cancel
Save