Display the poetry env path, and put the poetry cache right before "poetry install"

This commit is contained in:
Micah Lee 2022-09-30 18:17:50 -07:00
parent 25ebbd3217
commit 4b2ce7d88c
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -11,17 +11,20 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Restore cache - poetry
uses: actions/cache@v3
with:
path: ~\.cache\AppData\Local\pypoetry\Cache\virtualenvs
key: ${{ runner.os }}-win64-poetry-${{ hashFiles('desktop/poetry.lock') }}
- name: Install poetry
run: C:\hostedtoolcache\windows\Python\3.9.13\x64\python -m pip install poetry
- name: Restore cache - poetry
uses: actions/cache@v3
with:
path: ~\AppData\Local\pypoetry\Cache\virtualenvs
key: ${{ runner.os }}-win64-poetry-${{ hashFiles('desktop/poetry.lock') }}
- name: Install poetry dependencies
run: cd desktop && C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts\poetry install
run: |
cd desktop
C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts\poetry install
C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts\poetry env list --full-path
- name: Restore cache - tor
uses: actions/cache@v3