Skip to content

Commit

Permalink
force local installation of miniforge
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotfontaine committed Jul 26, 2024
1 parent 6585213 commit a5f81f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/install-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
key: rtmet-${{ runner.os }}-envs-${{ hashFiles('cylc-src/bioreactor-workflow/envs/*') }}-script-${{ hashFiles('install.sh') }}
path: |
/usr/share/miniconda/envs/
/home/runner/miniforge3/
/home/runner/cylc-src/
/home/runner/.bashrc
/usr/local/bin/cylc
Expand Down
4 changes: 3 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ _mainScript_() {
# fi

info "Checking for local Conda installation:"
if _commandExists_ conda; then
# force miniforge install (to fix Github Actions shenanigans)
#if _commandExists_ conda; then
if false; then
info "↪ Conda is already installed."
local _conda
_conda=$(command -v conda)
Expand Down

0 comments on commit a5f81f3

Please sign in to comment.