Skip to content

Commit 5c2d758

Browse files
authored
Merge pull request #333 from bioimage-io/cache_ci_envs
cache downloads and mamba envs
2 parents 7be3e2e + 228a11e commit 5c2d758

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
- name: Install Conda environment with Micromamba
3333
uses: mamba-org/provision-with-micromamba@main
3434
with:
35+
cache-downloads: true
36+
cache-env: true
3537
environment-file: dev/environment-torch.yaml
3638
extra-specs: |
3739
python=${{ matrix.python-version }}
@@ -52,6 +54,8 @@ jobs:
5254
- name: Install Conda environment with Micromamba
5355
uses: mamba-org/provision-with-micromamba@main
5456
with:
57+
cache-downloads: true
58+
cache-env: true
5559
environment-file: dev/environment-torch.yaml
5660
extra-specs: |
5761
python=${{ matrix.python-version }}
@@ -75,6 +79,8 @@ jobs:
7579
- name: Install Conda environment with Micromamba
7680
uses: mamba-org/provision-with-micromamba@main
7781
with:
82+
cache-downloads: true
83+
cache-env: true
7884
environment-file: dev/environment-tf.yaml
7985
channel-priority: flexible
8086
extra-specs: |
@@ -99,6 +105,8 @@ jobs:
99105
- name: Install Conda environment with Micromamba
100106
uses: mamba-org/provision-with-micromamba@main
101107
with:
108+
cache-downloads: true
109+
cache-env: true
102110
environment-file: dev/environment-tf-legacy.yaml
103111
channel-priority: flexible
104112
extra-specs: |
@@ -124,6 +132,8 @@ jobs:
124132
- name: Install Conda environment with Micromamba
125133
uses: mamba-org/provision-with-micromamba@main
126134
with:
135+
cache-downloads: true
136+
cache-env: true
127137
environment-file: false
128138
environment-name: build-env
129139
channels: conda-forge

0 commit comments

Comments
 (0)