From 1035950f2142d5c058392a75976001d14cb4404b Mon Sep 17 00:00:00 2001 From: Tuomo Salmi Date: Sat, 11 Nov 2023 00:03:19 +0100 Subject: [PATCH] setup-micromamba did not actually work, going back to old method. Error: Error installing micromamba: Destination file path /home/runner/micromamba-bin/micromamba already exists --- .github/workflows/build_docs.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 7fed9959..a41f2ab6 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -30,13 +30,13 @@ jobs: with: ref: python2 - name: Install Python2 Conda environment with Micromamba - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/provision-with-micromamba@main with: - cache-environment: true - cache-environment-key: env-envkey-${{ github.sha }}-${{ github.run_attempt }} + cache-env: true + cache-env-key: env-envkey-${{ github.sha }}-${{ github.run_attempt }} environment-file: basic_environment.yml environment-name: xpsipy2 - create-args: >- + extra-specs: | python=2.7 - name : install docs dependencies run: | @@ -63,13 +63,13 @@ jobs: with: ref: main - name: Install Python3 Conda environment with Micromamba - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/provision-with-micromamba@main with: - cache-environment: true - cache-environment-key: env-envkey-${{ github.sha }}-${{ github.run_attempt }} + cache-env: true + cache-env-key: env-envkey-${{ github.sha }}-${{ github.run_attempt }} environment-file: basic_environment.yml environment-name: xpsipy3 - create-args: >- + extra-specs: | python=3.10 - name : install docs dependencies run: |