File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -241,22 +241,18 @@ allowed here.
241
241
242
242
# ## channels
243
243
244
- This represents the channels to grab packages from during builds and
245
- which channels/labels to push to on anaconda.org after a package
246
- has been built. The `channels` variable is a mapping with
247
- `sources` and `targets`, as follows :
248
-
249
- ` ` ` yaml
250
- channels:
251
- # sources selects the channels to pull packages from, in order.
252
- sources:
253
- - conda-forge
254
- - defaults
255
- # targets is a list of 2-lists, where the first element is the
256
- # channel to push to and the second element is the label on that channel
257
- targets:
258
- - ["conda-forge", "main"]
244
+ :::warning
245
+ This parameter has been deprecated. Instead, specify channels in `recipe/conda_build_config.yaml`
246
+ using `channel_sources` and `channel_targets`. Note that all channels go on a single
247
+ line because each line represents a build variant.
248
+
249
+ ` ` ` yaml title="recipe/conda_build_config.yaml"
250
+ channel_sources:
251
+ - mysourcechannel1,mysourcechannel2,conda-forge,defaults
252
+ channel_targets:
253
+ - target_channel target_label
259
254
` ` `
255
+ :: :
260
256
261
257
<a id="choco"></a>
262
258
You can’t perform that action at this time.
0 commit comments