From 9186dfba06160b889a0550d23e0da100be875356 Mon Sep 17 00:00:00 2001 From: Oliver Sanders Date: Mon, 6 Jan 2025 17:55:18 +0000 Subject: [PATCH] . --- .github/actions/create-conda-envs/action.yml | 10 +++------- .github/workflows/create-conda-envs.yml | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/actions/create-conda-envs/action.yml b/.github/actions/create-conda-envs/action.yml index 56eb58db44d..99f1527cd71 100644 --- a/.github/actions/create-conda-envs/action.yml +++ b/.github/actions/create-conda-envs/action.yml @@ -29,14 +29,10 @@ runs: fi echo "CYLC_RELEASE=$CYLC_RELEASE" >> "${GITHUB_ENV}" - - shell: bash - working-directory: ${{ inputs.working_directory }} - run: | - # use mamba (much faster) - # use this when released: https://github.com/mamba-org/setup-mamba - conda install -n base -c conda-forge -y mamba + - name: build conda env + uses: conda-incubator/setup-miniconda@v3 - - shell: bash + - shell: bash -el {0} working-directory: ${{ inputs.working_directory }} run: | for env_file in $(echo src/reference/environments/envs/*.yml); do diff --git a/.github/workflows/create-conda-envs.yml b/.github/workflows/create-conda-envs.yml index 42ce7171ff7..e9197bd1360 100644 --- a/.github/workflows/create-conda-envs.yml +++ b/.github/workflows/create-conda-envs.yml @@ -24,7 +24,7 @@ jobs: timeout-minutes: 30 strategy: matrix: - python: [3.7, 3.8, 3.9] + python: [3.8, 3.9] steps: - name: checkout cylc-doc uses: actions/checkout@v4