From 5a6293d5eb0393af6bbf8b010a235c042bce820f Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Tue, 28 Nov 2023 10:04:01 +0100 Subject: [PATCH] Migrated GHA to setup-micromamba --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d63fd74e..16665726 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: uses: SimenB/github-actions-cpu-cores@v1 - name: install mamba - uses: mamba-org/provision-with-micromamba@main + uses: mamba-org/setup-micromamba@v1 with: environment-file: environment-dev.yml environment-name: xeus @@ -86,6 +86,10 @@ jobs: win: runs-on: ${{ matrix.os }} + default: + run: + # micromamba activation + shell: cmd /C call {0} strategy: fail-fast: false @@ -96,15 +100,11 @@ jobs: - uses: actions/checkout@v4 - name: install mamba - uses: mamba-org/provision-with-micromamba@main + uses: mamba-org/setup-micromamba@v1 with: environment-file: environment-dev.yml environment-name: xeus - - - name: micromamba shell hook - shell: powershell - run: | - micromamba shell hook -s cmd.exe -p C:\Users\runneradmin\micromamba-root + init-shell: cmd.exe - name: Make build directory run: mkdir build