File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,12 +20,11 @@ concurrency:
2020jobs :
2121 build :
2222 runs-on : ubuntu-latest
23-
2423 steps :
2524 - name : Checkout
2625 uses : actions/checkout@v4
2726
28- # Export paths based on RUNNER_TEMP (works everywhere)
27+ # Export a temp build dir and pip hardening
2928 - name : Set temp-based paths
3029 run : |
3130 echo "MAMBA_ROOT_PREFIX=${RUNNER_TEMP}/mamba" >> "$GITHUB_ENV"
@@ -34,28 +33,28 @@ jobs:
3433 echo "PIP_NO_INDEX=1" >> "$GITHUB_ENV"
3534 echo "PIP_NO_DEPS=1" >> "$GITHUB_ENV"
3635
37- - name : Set up micromamba (with cache)
36+ - name : Set up micromamba (create + cache env )
3837 uses : mamba-org/setup-micromamba@v2
3938 with :
4039 micromamba-version : " latest"
41- cache-environment : true
42- cache-downloads : true
4340 init-shell : bash
41+ cache-environment : true # ✅ now valid
42+ cache-downloads : true
43+ environment-name : tools
44+ create-args : >-
45+ python>=3.10
46+ conda-build
47+ boa
48+ anaconda-client
4449 condarc : |
4550 channel_priority: strict
4651 channels:
4752 - conda-forge
48- # add your org channel if your recipe/tests need it:
49- # - cadwr-dms
53+ # - cadwr-dms # uncomment if your recipe/tests need it
5054
51- - name : Create tooling env (cached)
55+ - name : Show env
5256 shell : bash -l {0}
5357 run : |
54- micromamba create -y -n tools \
55- python>=3.10 \
56- conda-build \
57- boa \
58- anaconda-client
5958 micromamba activate tools
6059 python -V
6160 conda info
You can’t perform that action at this time.
0 commit comments