File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments