File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,19 +163,20 @@ jobs:
163163 sed -i "s/^{% set version = \".*\" %}$/{% set version = \"${{ github.event.inputs.version }}\" %}/" conda-recipe/meta.yaml
164164 grep '{% set version' conda-recipe/meta.yaml
165165
166- - name : Setup Conda
166+ - name : Setup Conda (conda-forge only)
167167 uses : conda-incubator/setup-miniconda@v3
168168 with :
169169 miniforge-variant : Miniforge3
170170 python-version : " 3.12"
171- auto-activate-base : false
171+ auto-activate : false
172+ conda-remove-defaults : true
173+ channels : conda-forge
174+ channel-priority : strict
172175
173176 - name : Install build tools
174177 shell : bash -l {0}
175178 run : |
176179 conda install -y conda-build anaconda-client
177- conda config --add channels conda-forge
178- conda config --set channel_priority strict
179180 conda config --set anaconda_upload no
180181
181182 - name : Build package
@@ -184,7 +185,7 @@ jobs:
184185 PIP_NO_INDEX : " 0"
185186 run : |
186187 PKG_PATH=$(conda build conda-recipe --output)
187- echo "PKG_PATH=$PKG_PATH" >> $GITHUB_ENV
188+ echo "PKG_PATH=$PKG_PATH" >> " $GITHUB_ENV"
188189 conda build conda-recipe
189190 test -f "$PKG_PATH"
190191 echo "Built: $PKG_PATH"
You can’t perform that action at this time.
0 commit comments