Setup-miniconda: 频道增加了两次

创建于 2020-07-26  ·  2评论  ·  资料来源: conda-incubator/setup-miniconda

我看到通过此操作添加了两次渠道,一次是在以下渠道进行:

# Applying conda configuration...
#################################

下一个:

# Applying conda configuration after update...
##############################################

这将导致警告:

C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda3\condabin\conda.bat config --add channels conda-forge"
##[warning]Warning: 'conda-forge' already in 'channels' list, moving to the top

Warning: 'conda-forge' already in 'channels' list, moving to the top
C:\windows\system32\cmd.exe /D /S /C "C:\Miniconda3\condabin\conda.bat config --add channels conda-forge/label/testing"
##[warning]Warning: 'conda-forge/label/testing' already in 'channels' list, moving to the top

Warning: 'conda-forge/label/testing' already in 'channels' list, moving to the top

问题是这些警告出现在我的工作流的顶级输出中,这有点烦人,因为它们永远不会消失。 这是我的配置,如果有帮助的话:

    - name: Set up Python ${{ matrix.python-version }}
      uses: goanpeca/setup-miniconda<strong i="15">@v1</strong>
      with:
        auto-update-conda: true
        miniconda-version: "latest"
        python-version: ${{ matrix.python-version }}
        channel-priority: strict
        channels: conda-forge/label/testing,conda-forge
        show-channel-urls: true
        use-only-tar-bz2: true

最有用的评论

好吧,我个人很想选择让事情安静一些。

顺便说一句,我非常感谢有此操作。 它救了我一的努力。

所有2条评论

您好@dopplershift ,感谢您的举报。

是的,确实是我添加的内容,以确保一切正常(这就是标题在更新后显示的原因)。

我可以添加额外的检查以避免警告。

好吧,我个人很想选择让事情安静一些。

顺便说一句,我非常感谢有此操作。 它救了我一的努力。

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

bradyrx picture bradyrx  ·  11评论

volpatto picture volpatto  ·  12评论

magland picture magland  ·  4评论

bollwyvl picture bollwyvl  ·  12评论

ma-sadeghi picture ma-sadeghi  ·  4评论