Skip to content

Commit

Permalink
Start migration off defaults to conda-forge channel (#4126)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #4126

Differential Revision: D68043874
  • Loading branch information
Michael Norris authored and facebook-github-bot committed Jan 11, 2025
1 parent 3d0ac32 commit 30e85d8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/build_cmake/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ runs:
with:
python-version: '3.11'
miniconda-version: latest
- name: Remove defaults channel
shell: bash
run: |
# initialize Conda
conda config --show channels
conda config --add channels conda-forge
conda config --add channels nodefaults
conda config --show channels
- name: Configure build environment
shell: bash
run: |
Expand Down
8 changes: 8 additions & 0 deletions .github/actions/build_conda/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ runs:
else
echo "shell=pwsh" >> "$GITHUB_OUTPUT"
fi
- name: Remove defaults channel
shell: ${{ steps.choose_shell.outputs.shell }}
run: |
# initialize Conda
conda config --show channels
conda config --add channels conda-forge
conda config --add channels nodefaults
conda config --show channels
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down

0 comments on commit 30e85d8

Please sign in to comment.