Pip needs to be installed in the environment first

This commit is contained in:
Artem Veremey
2021-05-29 16:44:03 -07:00
parent ae329e6e75
commit 88e68ca386

View File

@@ -178,19 +178,6 @@ jobs:
path: ~/conda_pkgs_dir
key: conda-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('requirements*.txt') }}
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
@@ -210,6 +197,19 @@ jobs:
run: >-
c:\windows\system32\icacls C:\Users\runneradmin\AppData\Local\Temp /grant "everyone":F /t
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies (Bash)
shell: bash -l {0}
run: |