diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index ecd3cd4be7..3f50544657 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -91,7 +91,7 @@ jobs: mamba-version: "*" channels: conda-forge,e3sm/label/compass,defaults channel-priority: strict - auto-update-conda: true + auto-update-conda: false python-version: ${{ matrix.python-version }} - if: ${{ steps.skip_check.outputs.should_skip != 'true' }} diff --git a/.github/workflows/docs_workflow.yml b/.github/workflows/docs_workflow.yml index a599f7cea8..69a1ea80ac 100644 --- a/.github/workflows/docs_workflow.yml +++ b/.github/workflows/docs_workflow.yml @@ -43,7 +43,7 @@ jobs: mamba-version: "*" channels: conda-forge,e3sm/label/compass,defaults channel-priority: strict - auto-update-conda: true + auto-update-conda: false python-version: ${{ matrix.python-version }} - if: ${{ steps.skip_check.outputs.should_skip != 'true' }} diff --git a/conda/shared.py b/conda/shared.py index dc2c37451f..dfa01f944e 100644 --- a/conda/shared.py +++ b/conda/shared.py @@ -181,7 +181,8 @@ def install_miniconda(conda_base, activate_base, logger): check_call(commands, logger=logger) commands = f'{activate_base} && ' \ - f'mamba update -y --all && ' \ + f'mamba install "conda>=4.14,<23.9.0a0" mamba=1.5.1 -y --all ' \ + f'&& ' \ f'mamba init' check_call(commands, logger=logger)