mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-29 08:47:18 -04:00
Display the poetry env path, and put the poetry cache right before "poetry install"
This commit is contained in:
parent
f77a949ffa
commit
cda062a00a
1 changed files with 10 additions and 7 deletions
17
.github/workflows/build-windows.yml
vendored
17
.github/workflows/build-windows.yml
vendored
|
@ -11,17 +11,20 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
- name: Install poetry
|
||||||
run: C:\hostedtoolcache\windows\Python\3.9.13\x64\python -m pip 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
|
- 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
|
- name: Restore cache - tor
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue