Skip to content

Commit e786288

Browse files
englehardtvringar
authored andcommitted
Update gh actions mamba references
1 parent e327f69 commit e786288

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/actions/setup/action.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@ runs:
44
using: "composite"
55
steps:
66
# All of these steps are just setup
7-
- name: Setting MAMBA_PATH
7+
- name: Setting CONDA_PATH
88
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
1111
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
1313
# If the environment.yaml hasn't changed we just reuse the entire conda install
1414
- id: cache
1515
uses: actions/cache@v4
1616
env:
1717
cache-name: conda-cache
1818
with:
19-
path: ${{ env.MAMBA_PATH }}
19+
path: ${{ env.CONDA_PATH }}
2020
key: ${{ env.cache-name }}-${{ hashFiles('environment.yaml') }}
2121

2222
- name: Install conda
2323
shell: bash
2424
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
25-
run: $GITHUB_WORKSPACE/scripts/install-mamba.sh
25+
run: $GITHUB_WORKSPACE/scripts/install-conda.sh
2626

2727
- shell: bash
28-
run: echo "$MAMBA_PATH/bin" >> $GITHUB_PATH
28+
run: echo "$CONDA_PATH/bin" >> $GITHUB_PATH
2929

3030
- name: Install.sh (cache miss)
3131
shell: bash
@@ -36,5 +36,5 @@ runs:
3636
if: ${{ steps.cache.outputs.cache-hit == 'true' }}
3737
run: $GITHUB_WORKSPACE/install.sh --skip-create
3838
- 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

0 commit comments

Comments
 (0)