diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f528389101..06ecc788fae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -318,11 +318,18 @@ jobs: with: path: ~/conda_pkgs_dir key: ${{ runner.os }}-python-${{ matrix.python-version }}-conda-${{ github.run_id }}-${{ hashFiles('environment.yml') }} - - name: Cache pip + - name: Cache pip on Ubuntu + if: ${{ runner.os == 'Linux' }} uses: actions/cache@v1 with: path: ~/.cache/pip key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }} + - name: Cache pip on Windows + if: ${{ runner.os == 'Windows' }} + uses: actions/cache@v1 + with: + path: ~\AppData\Local\pip\Cache + key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ github.run_id }}-${{ hashFiles('environment.yml') }} - uses: goanpeca/setup-miniconda@v1.6.0 with: activate-environment: modin