We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8d5b31 commit 37890aeCopy full SHA for 37890ae
1 file changed
.github/workflows/main.yaml
@@ -46,6 +46,16 @@ jobs:
46
auto-update-conda: true
47
conda-solver: libmamba
48
49
+ - name: Ensure conda 'defaults' channel not present
50
+ run: |
51
+ # Only remove the 'defaults' channel if it exists to avoid CondaKeyError
52
+ if conda config --show channels | grep -q 'defaults'; then
53
+ conda config --remove channels defaults
54
+ echo "Removed 'defaults' channel"
55
+ else
56
+ echo "'defaults' channel not present, skipping removal"
57
+ fi
58
+
59
- name: Install dependencies
60
run: |
61
poetry check
@@ -69,4 +79,4 @@ jobs:
69
79
if: ${{ github.event_name == 'push' }}
70
80
with:
71
81
github_token: ${{ secrets.GITHUB_TOKEN }}
72
- publish_dir: ./build
82
+ publish_dir: ./build
0 commit comments