mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 11:47:27 -03:00
Display the poetry env path, and put the poetry cache right before "poetry install"
This commit is contained in:
parent
25ebbd3217
commit
4b2ce7d88c
1 changed files with 10 additions and 7 deletions
17
.github/workflows/build-windows.yml
vendored
17
.github/workflows/build-windows.yml
vendored
|
@ -10,18 +10,21 @@ jobs:
|
|||
runs-on: windows-latest
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue