Skip to content

Commit 6c95af6

Browse files
committed
Ensure conda-build doesn't come from defaults
Conda build was being downgraded via the defaults channel for some reason. Use `--override-channels` to ensure that no dependencies get installed from the defaults channel. Signed-off-by: Patrick Avery <[email protected]>
1 parent a9f7aa5 commit 6c95af6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install build requirements
4747
run: |
4848
# Change default solver to be libmamba, so that it runs much faster
49-
conda install -n base -c conda-forge conda-libmamba-solver
49+
conda install -n base --override-channels -c conda-forge conda-libmamba-solver
5050
conda config --set solver libmamba
5151
5252
conda activate hexrd
@@ -63,7 +63,7 @@ jobs:
6363
# For some reason, we need to set this in the environment as well.
6464
# It seems conda build sometimes needs the solver in the environment
6565
# and sometimes in the base environment. I don't know why.
66-
conda install -c conda-forge conda-libmamba-solver
66+
conda install --override-channels -c conda-forge conda-libmamba-solver
6767
conda config --env --set solver libmamba
6868
conda list
6969

0 commit comments

Comments
 (0)