Skip to content

Commit 28d0b47

Browse files
Install conda-build manually
1 parent 0aa7961 commit 28d0b47

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/conda-package-cf.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,16 @@ jobs:
136136
with:
137137
miniforge-version: latest
138138
auto-activate-base: true
139-
conda-build-version: "*"
140139
activate-environment: build
141140
python-version: ${{ matrix.python }}
142141
channels: conda-forge,nodefaults
143142

144143
- name: Remove defaults channel
145144
run: conda config --remove channels defaults
146145

146+
- name: Install conda-build
147+
run: conda install -n base conda-build
148+
147149
- name: Cache conda packages
148150
uses: actions/cache@v4
149151
env:

.github/workflows/conda-package.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,18 @@ jobs:
134134
- uses: conda-incubator/setup-miniconda@v3
135135
with:
136136
miniforge-version: latest
137-
conda-build-version: "*"
138137
activate-environment: build
139138
python-version: ${{ matrix.python }}
140139
channels: conda-forge,nodefaults
141140

142141
- name: Remove defaults channel
143142
run: conda config --remove channels defaults
144143

144+
- name: Install conda-build
145+
run: |
146+
conda activate
147+
conda install -n based conda-build
148+
145149
- name: Cache conda packages
146150
uses: actions/cache@v4
147151
env:

0 commit comments

Comments
 (0)