Skip to content

Commit 3db886b

Browse files
committed
github action still working?
1 parent 9d01299 commit 3db886b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,28 @@ jobs:
1818
- name: Add packages
1919
run: |
2020
sudo apt-get update
21-
sudo apt-get install texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra cm-super dvipng
21+
sudo apt-get --yes install texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra cm-super dvipng nodejs
2222
2323
- name: Cache conda
2424
uses: actions/cache@v2
25+
# if: ${{ !env.ACT }}
2526
env:
2627
# Increase this value to reset cache if etc/example-environment.yml has not changed
2728
CACHE_NUMBER: 2
2829
with:
2930
path: ~/conda_pkgs_dir
3031
key:
3132
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements.txt') }}
32-
33+
34+
- name: Install miniconda
35+
if: ${{ env.ACT }}
36+
run: |
37+
MINICONDA_URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"
38+
wget $MINICONDA_URL
39+
MINICONDA_SH="Miniconda3-latest-Linux-x86_64.sh"
40+
sudo bash $MINICONDA_SH -b -p $CONDA
41+
rm $MINICONDA_SH # Clean up after installing
42+
3343
- uses: conda-incubator/setup-miniconda@v2
3444
with:
3545
auto-update-conda: true

0 commit comments

Comments
 (0)