diff --git a/.github/workflows/conda-package-cf.yml b/.github/workflows/conda-package-cf.yml index 8372459..4547b48 100644 --- a/.github/workflows/conda-package-cf.yml +++ b/.github/workflows/conda-package-cf.yml @@ -136,7 +136,6 @@ jobs: with: miniforge-version: latest auto-activate-base: true - conda-build-version: "*" activate-environment: build python-version: ${{ matrix.python }} channels: conda-forge,nodefaults @@ -144,6 +143,9 @@ jobs: - 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: diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 61f3e8e..57de1d2 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -134,7 +134,6 @@ 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 @@ -142,6 +141,11 @@ jobs: - 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: