Skip to content

Commit

Permalink
use contains
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapriot committed Aug 20, 2024
1 parent 5fa6e6b commit 53d31ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ jobs:
- os: macOS-latest
python-major-version: 3
python-minor-version: 8
env:
PYTHON_VERSION: ${{ matrix.python-major-version }}.${{matrix.python-minor-version}}

steps:
- uses: actions/checkout@v4
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{matrix.python-major-version }}.{{matrix.python-minor-version}
python-version: env.PYTHON_VERSION
- name: Install Base Env
run: |
conda info
Expand All @@ -45,7 +47,7 @@ jobs:
- name: Install MKL solver interface
# Don't run this on the osx-arm images.
if: ${{ runner.os == 'macOS'}} and ${{ 'ARM' in runner.arch}}
if: not(${{ runner.os == 'macOS'}} and contains('ARM', runner.arch, 'ARM'))
run:
conda install --quiet --yes -c conda-forge pydiso

Expand Down

0 comments on commit 53d31ed

Please sign in to comment.