Skip to content

Commit

Permalink
Fix conda installation in GitHub workflow on macos-14 runner
Browse files Browse the repository at this point in the history
Fix the following error:

```
Error: No installed conda 'base' environment found at !If you are using this action in a self-hosted runner that already provides its own Miniconda installation, please specify its location with a `CONDA` environment variable. If you want us to download and install Miniconda or Miniforge for you, add `miniconda-version: "latest"` or `miniforge-version: "latest"`, respectively, to the parameters for this action.
```
  • Loading branch information
nsoranzo committed Apr 23, 2024
1 parent 2ff22ea commit a98c5ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/osx_startup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ jobs:
path: .tox
key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-osx
- name: Install miniconda # use this job to test using Python from a conda environment
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: ''
miniforge-version: latest
- name: Restore client cache
uses: actions/cache@v3
with:
Expand Down

0 comments on commit a98c5ec

Please sign in to comment.