File tree Expand file tree Collapse file tree 2 files changed +10
-22
lines changed Expand file tree Collapse file tree 2 files changed +10
-22
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ channels:
22- conda-forge
33- nodefaults
44dependencies :
5- # !! you can only use single `=` to set a version. Otherwise it will break the update job
65- invoke
6+ - mamba
77- packaging
88- pyyaml
99# applications
Original file line number Diff line number Diff line change @@ -15,30 +15,18 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v3
18- - name : Cache conda
19- uses : actions/cache@v3
20- env :
21- # Increase this value to reset cache if .binder/environment.yml has not changed
22- CACHE_NUMBER : 0
18+ - name : Install mamba
19+ uses : mamba-org/setup-micromamba@v1
2320 with :
24- path : ~/conda_pkgs_dir
25- key :
26- ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('.binder/environment.yml') }}
27- - uses : conda-incubator/setup-miniconda@v2
28- with :
29- mamba-version : " >=1.4.0"
30- # Defaults is added automatically
31- channels : conda-forge
32- channel-priority : " strict"
33- activate-environment : jupyterlab-demo
21+ micromamba-version : ' 1.5.1-0'
3422 environment-file : .binder/environment.yml
35- # The following option is blocking the environment resolution (newer versions are not found)
36- # use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
23+ environment-name : jupyterlab-demo
24+ cache-environment : true
3725 - run : |
38- conda info
39- conda list
40- conda config --show- sources
41- conda config --show
26+ micromamba info
27+ micromamba list
28+ micromamba config sources
29+ micromamba config list
4230 printenv | sort
4331 - run : |
4432 invoke r --env-name=jupyterlab-demo
You can’t perform that action at this time.
0 commit comments