diff options
author | Micah Lee <micah@micahflee.com> | 2022-09-30 18:17:50 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2022-09-30 18:17:50 -0700 |
commit | 4b2ce7d88c3e3a2ae5ba86e9f08968956c3567a4 (patch) | |
tree | 8f946cabb0bda6971142afa5533ad3f7441a2413 /.github | |
parent | 25ebbd3217eac513a023c9b0a9dbee09c16bc6f8 (diff) | |
download | onionshare-4b2ce7d88c3e3a2ae5ba86e9f08968956c3567a4.tar.gz onionshare-4b2ce7d88c3e3a2ae5ba86e9f08968956c3567a4.zip |
Display the poetry env path, and put the poetry cache right before "poetry install"
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-windows.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index c08f5a44..1c246383 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -10,18 +10,21 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v3 - + + - 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: ~\.cache\AppData\Local\pypoetry\Cache\virtualenvs + path: ~\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: 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 |