Skip to content

Commit e081648

Browse files
committed
Anaconda
1 parent b3d5e85 commit e081648

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/hiperseis_main_ci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,7 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@main
14-
- name: Restore dependencies
15-
id: cache-dependencies
16-
uses: actions/cache/restore@main
17-
with:
18-
path: |
19-
/home/runner
20-
/usr/share/miniconda/envs/hiperseis
21-
key: anaconda-1
2214
- name: Setting up environment
23-
if: steps.cache-dependencies.outputs.cache-hit != 'true'
2415
run: |
2516
wget -q https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh -O anaconda.sh
2617
bash anaconda.sh -b -p $HOME/anaconda3 > /dev/null 2>&1
@@ -30,7 +21,6 @@ jobs:
3021
sudo apt-get install openmpi-bin libopenmpi-dev
3122
sudo apt-get install libhdf5-dev
3223
- name: Install dependencies
33-
if: steps.cache-dependencies.outputs.cache-hit != 'true'
3424
run: |
3525
git submodule update --init --recursive
3626
source setup_scripts/conda_env_linux.sh hiperseis
@@ -39,7 +29,7 @@ jobs:
3929
if: always()
4030
uses: actions/cache/save@main
4131
with:
42-
key: ${{ steps.cache-dependencies.outputs.cache-primary-key }}
32+
key: anaconda
4333
path: |
4434
/home/runner/work/hiperseis
4535
/usr/share/miniconda/envs/hiperseis

0 commit comments

Comments
 (0)