added env

This commit is contained in:
soaska 2024-05-03 21:20:37 +03:00
parent 292ea6b103
commit 9a4e2a3282
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,8 @@ jobs:
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: 3.11.0 python-version: 3.11.0
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolache
# NB: there's no cache: pip here since we're not installing anything # NB: there's no cache: pip here since we're not installing anything
# from the requirements.txt file(s) in the repository; it's faster # from the requirements.txt file(s) in the repository; it's faster
# not to have GHA download an (at the time of writing) 4 GB cache # not to have GHA download an (at the time of writing) 4 GB cache

View File

@ -20,6 +20,8 @@ jobs:
with: with:
python-version: "3.10.6" python-version: "3.10.6"
cache: pip cache: pip
env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolache
cache-dependency-path: | cache-dependency-path: |
**/requirements*txt **/requirements*txt
launch.py launch.py