Skip to content

Commit

Permalink
Install conda-build manually
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Oct 11, 2024
1 parent 0aa7961 commit 043c41a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/conda-package-cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,16 @@ jobs:
with:
miniforge-version: latest
auto-activate-base: true
conda-build-version: "*"
activate-environment: build
python-version: ${{ matrix.python }}
channels: conda-forge,nodefaults

- name: Remove defaults channel
run: conda config --remove channels defaults

- name: Install conda-build
run: conda install -n base conda-build

- name: Cache conda packages
uses: actions/cache@v4
env:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,18 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
conda-build-version: "*"
activate-environment: build
python-version: ${{ matrix.python }}
channels: conda-forge,nodefaults

- name: Remove defaults channel
run: conda config --remove channels defaults

- name: Install conda-build
run: |
conda activate
conda install -n base conda-build
- name: Cache conda packages
uses: actions/cache@v4
env:
Expand Down

0 comments on commit 043c41a

Please sign in to comment.