mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-14 13:41:25 -05:00
Display the poetry env path, and put the poetry cache right before "poetry install"
This commit is contained in:
parent
f77a949ffa
commit
cda062a00a
17
.github/workflows/build-windows.yml
vendored
17
.github/workflows/build-windows.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user