Je vois des chaînes ajoutées deux fois avec cette action, une fois sous:
# Applying conda configuration...
#################################
et un autre sous:
# Applying conda configuration after update...
##############################################
Cela entraîne des avertissements:
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
Le problème est que ces avertissements apparaissent dans la sortie de haut niveau de mon flux de travail, ce qui est un peu ennuyeux car ils ne disparaîtront jamais. Voici ma configuration si cela aide:
- 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
Salut @dopplershift , merci pour le rapport.
Oui, c'est en effet quelque chose que j'ai ajouté pour m'assurer que les choses fonctionnaient correctement (c'est pourquoi le titre dit après la mise à jour).
Je pourrais ajouter une vérification supplémentaire pour éviter l'avertissement.
Eh bien, personnellement, j'aimerais avoir la possibilité de calmer les choses.
Btw, j'apprécie vraiment d'avoir cette action disponible. Cela m'a sauvé une tonne d'efforts.
Commentaire le plus utile
Eh bien, personnellement, j'aimerais avoir la possibilité de calmer les choses.
Btw, j'apprécie vraiment d'avoir cette action disponible. Cela m'a sauvé une tonne d'efforts.