Skip to content

Commit 1a288f5

Browse files
committed
DOC: Update setup-micromamba action to v2 for improved stability and functionality
1 parent 8c2b955 commit 1a288f5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
name: Set up Conda environment
2+
23
inputs:
34
environment-file:
45
description: Conda environment file to use.
56
default: environment.yml
7+
68
runs:
79
using: composite
810
steps:
911
- name: Install ${{ inputs.environment-file }}
10-
uses: mamba-org/setup-micromamba@v1 # Changed from @v2 to @v1 for stability
12+
uses: mamba-org/setup-micromamba@v2
1113
with:
1214
micromamba-url: https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64
1315
environment-file: ${{ inputs.environment-file }}
1416
environment-name: test
1517
condarc-file: ci/.condarc
1618
cache-environment: true
1719
cache-downloads: true
20+
# avoid aggressive post-cleanup that can trigger JSON issues
21+
post-cleanup: none
1822

1923
- name: Uninstall pyarrow
2024
if: ${{ env.REMOVE_PYARROW == '1' }}
25+
shell: bash -el {0}
2126
run: |
22-
micromamba remove -y pyarrow
23-
shell: bash -el {0}
27+
micromamba remove -y -n test pyarrow

0 commit comments

Comments
 (0)