diff --git a/.docker-images/windows-servercore-ltsc2022-micromamba/Dockerfile b/.docker-images/windows-servercore-ltsc2022-micromamba/Dockerfile index e42d4fb7..671d1259 100644 --- a/.docker-images/windows-servercore-ltsc2022-micromamba/Dockerfile +++ b/.docker-images/windows-servercore-ltsc2022-micromamba/Dockerfile @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2022 USER ContainerAdministrator RUN powershell -Command Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://vcredist.com/install.ps1')) USER ContainerUser -ADD https://github.com/mamba-org/micromamba-releases/releases/download/1.5.10-0/micromamba-win-64 micromamba.exe +ADD https://github.com/mamba-org/micromamba-releases/releases/download/2.1.0-0/micromamba-win-64 micromamba.exe RUN mkdir %USERPROFILE%\micromamba && \ copy micromamba.exe %USERPROFILE%\micromamba && \ del micromamba.exe && \ diff --git a/.github/actions/reusable-python-setup_conda/action.yml b/.github/actions/reusable-python-setup_conda/action.yml index b9a9a5c8..b29a26e1 100644 --- a/.github/actions/reusable-python-setup_conda/action.yml +++ b/.github/actions/reusable-python-setup_conda/action.yml @@ -16,9 +16,9 @@ runs: os_conda=$( [[ $RUNNER_OS == "Linux" ]] && echo "linux" || echo "win") echo "os_conda=$os_conda" >> $GITHUB_ENV - name: Setup conda env - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v2 with: - micromamba-version: 1.5.8-0 + micromamba-version: 2.1.0-0 environment-file: ${{ env.CONDA_LOCK_ENV_FILE }} environment-name: test_env init-shell: bash diff --git a/.github/workflows/reusable-python-pytest.yml b/.github/workflows/reusable-python-pytest.yml index a267f3ac..81ca1665 100644 --- a/.github/workflows/reusable-python-pytest.yml +++ b/.github/workflows/reusable-python-pytest.yml @@ -83,7 +83,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - - uses: MiraGeoscience/CI-tools/.github/actions/reusable-python-setup_conda@main + - uses: MiraGeoscience/CI-tools/.github/actions/reusable-python-setup_conda@GA-8604 name: Setup conda env if: ${{ inputs.package-manager == 'conda' }} with: diff --git a/.github/workflows/reusable-python-static_analysis.yml b/.github/workflows/reusable-python-static_analysis.yml index 807e3d31..6c71b9e9 100644 --- a/.github/workflows/reusable-python-static_analysis.yml +++ b/.github/workflows/reusable-python-static_analysis.yml @@ -65,7 +65,7 @@ jobs: with: python-version: ${{inputs.python-version}} - - uses: MiraGeoscience/CI-tools/.github/actions/reusable-python-setup_conda@main + - uses: MiraGeoscience/CI-tools/.github/actions/reusable-python-setup_conda@GA-8604 name: Setup conda env if: ${{ inputs.package-manager == 'conda' }} with: