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:
2
2
- conda-forge
3
3
- nodefaults
4
4
dependencies :
5
- # !! you can only use single `=` to set a version. Otherwise it will break the update job
6
5
- invoke
6
+ - mamba
7
7
- packaging
8
8
- pyyaml
9
9
# applications
Original file line number Diff line number Diff line change @@ -15,30 +15,18 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- 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
23
20
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'
34
22
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
37
25
- 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
42
30
printenv | sort
43
31
- run : |
44
32
invoke r --env-name=jupyterlab-demo
You can’t perform that action at this time.
0 commit comments