File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 4
4
using : " composite"
5
5
steps :
6
6
# All of these steps are just setup
7
- - name : Setting MAMBA_PATH
7
+ - name : Setting CONDA_PATH
8
8
shell : bash
9
- run : echo "MAMBA_PATH =$HOME/mamba " >> $GITHUB_ENV
10
- - name : Setting OPENWPM_MAMBA_PATH
9
+ run : echo "CONDA_PATH =$HOME/conda " >> $GITHUB_ENV
10
+ - name : Setting OPENWPM_CONDA_PATH
11
11
shell : bash
12
- run : echo "OPENWPM_MAMBA_PATH=$MAMBA_PATH /envs/openwpm" >> $GITHUB_ENV
12
+ run : echo "OPENWPM_CONDA_PATH=$CONDA_PATH /envs/openwpm" >> $GITHUB_ENV
13
13
# If the environment.yaml hasn't changed we just reuse the entire conda install
14
14
- id : cache
15
15
uses : actions/cache@v4
16
16
env :
17
17
cache-name : conda-cache
18
18
with :
19
- path : ${{ env.MAMBA_PATH }}
19
+ path : ${{ env.CONDA_PATH }}
20
20
key : ${{ env.cache-name }}-${{ hashFiles('environment.yaml') }}
21
21
22
22
- name : Install conda
23
23
shell : bash
24
24
if : ${{ steps.cache.outputs.cache-hit != 'true' }}
25
- run : $GITHUB_WORKSPACE/scripts/install-mamba .sh
25
+ run : $GITHUB_WORKSPACE/scripts/install-conda .sh
26
26
27
27
- shell : bash
28
- run : echo "$MAMBA_PATH /bin" >> $GITHUB_PATH
28
+ run : echo "$CONDA_PATH /bin" >> $GITHUB_PATH
29
29
30
30
- name : Install.sh (cache miss)
31
31
shell : bash
36
36
if : ${{ steps.cache.outputs.cache-hit == 'true' }}
37
37
run : $GITHUB_WORKSPACE/install.sh --skip-create
38
38
- shell : bash
39
- run : echo "$OPENWPM_MAMBA_PATH /bin" >> $GITHUB_PATH
40
- # Now we have a working OpenWPM environment
39
+ run : echo "$OPENWPM_CONDA_PATH /bin" >> $GITHUB_PATH
40
+ # Now we have a working OpenWPM environment
You can’t perform that action at this time.
0 commit comments