Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/conda-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
build_type: [Release]
os: [ubuntu-latest]
os: [ubuntu-22.04]
fail-fast: false
defaults:
run:
Expand Down Expand Up @@ -55,10 +55,8 @@ jobs:
echo "CONDA_ENV_NAME=$(grep 'name:' ${{ env.CONDA_DEPS_FILE }} | awk '{print $2}')" >> $GITHUB_ENV

# Use conda for main dependencies
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: ${{ env.CONDA_ENV_NAME }}

# Print the environment variables to simplify development and debugging
Expand Down Expand Up @@ -86,7 +84,7 @@ jobs:
- name: Dependencies (using conda)
if: steps.cache-restore-conda-deps.outputs.cache-hit != 'true'
run: |
mamba env update -f ${{env.CONDA_DEPS_FILE}}
conda env update -f ${{env.CONDA_DEPS_FILE}}

- name: Cache conda based dependencies
if: ${{ env.action-save-cache == 'true' && steps.cache-restore-conda-deps.outputs.cache-hit != 'true' }}
Expand Down
Loading