Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pkgs cache on Windows #5082

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ jobs:
- name: Cache conda
uses: actions/cache@v3
with:
# Use faster GNU tar for all runners
enableCrossOsArchive: true
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.TIMESTAMP }}

Expand Down Expand Up @@ -213,15 +215,18 @@ jobs:
- name: Cache conda
uses: actions/cache@v3
with:
path: ~/conda_pkgs_dir
# Use faster GNU tar for all runners
enableCrossOsArchive: true
path: D:\conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.TIMESTAMP }}

- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v2
uses: jezdez/setup-miniconda@configurable-cache
with:
condarc-file: .\ci\github\.condarc
python-version: ${{ matrix.python-version }}
run-post: false # skip post cleanup
pkgs-dirs: D:\conda_pkgs_dir

- name: Setup environment
run: |
Expand Down Expand Up @@ -324,6 +329,8 @@ jobs:
- name: Cache conda
uses: actions/cache@v3
with:
# Use faster GNU tar for all runners
enableCrossOsArchive: true
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.TIMESTAMP }}

Expand Down