Skip to content

Commit 39bf520

Browse files
committed
channel
1 parent dbcb664 commit 39bf520

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/_build-pyobjcryst-package.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,15 @@ jobs:
104104
conda config --set changeps1 no
105105
conda config --set auto_update_conda true
106106
conda config --set auto_activate_base false
107-
conda config --add channels conda-forge
108107
109-
conda create -n build -y python=${{ matrix.python[0] }}
108+
conda create -n build -y --override-channels -c conda-forge \
109+
python=${{ matrix.python[0] }}
110110
conda activate build
111-
conda install --file requirements/conda.txt
112-
conda install --file requirements/build.txt
111+
112+
conda install -n build -y --override-channels -c conda-forge \
113+
--file requirements/conda.txt
114+
conda install -n build -y --override-channels -c conda-forge \
115+
--file requirements/build.txt
113116
echo "Using CONDA_PREFIX=$CONDA_PREFIX"
114117
with:
115118
output-dir: dist

0 commit comments

Comments
 (0)