Skip to content

Commit 375dce7

Browse files
committed
use conda-specific parameters in setup miniconda
1 parent c4f1d72 commit 375dce7

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/conda-package.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,12 @@ jobs:
104104

105105
- uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
106106
with:
107+
auto-update-conda: true
107108
miniforge-version: latest
108109
activate-environment: build
109110
channels: conda-forge
110111
python-version: ${{ matrix.python }}
111-
- name: Update conda
112-
run: |
113-
conda update -n base --all
114-
- name: Install conda-build
115-
run: |
116-
conda install -n base -y conda-build
112+
conda-build-version: latest
117113
- name: Cache conda packages
118114
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
119115
env:
@@ -286,15 +282,12 @@ jobs:
286282

287283
- uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
288284
with:
285+
auto-update-conda: true
289286
miniforge-version: latest
290287
channels: conda-forge
291288
activate-environment: ${{ env.TEST_ENV_NAME }}
292289
python-version: ${{ matrix.python }}
293290

294-
- name: Update conda
295-
run: |
296-
conda update -n base --all
297-
298291
- name: Install conda-index
299292
run: |
300293
conda install -n base conda-index

0 commit comments

Comments
 (0)