Skip to content

Commit 35f2dbf

Browse files
authored
update workflow to use python=3.12 for conda build (#178)
1 parent 873a965 commit 35f2dbf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/conda-package-cf.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: echo $CONDA/bin >> $GITHUB_PATH
5252

5353
- name: Install conda-build
54-
run: conda install conda-build
54+
run: conda install conda-build python=3.12
5555

5656
- name: Build conda package with NumPy 2.0
5757
run: |
@@ -95,7 +95,7 @@ jobs:
9595
run: echo $CONDA/bin >> $GITHUB_PATH
9696

9797
- name: Install conda-build
98-
run: conda install conda-build
98+
run: conda install conda-build python=3.12
9999

100100
- name: Create conda channel
101101
run: |
@@ -167,7 +167,7 @@ jobs:
167167
conda-remove-defaults: 'true'
168168

169169
- name: Install conda-build
170-
run: conda install -n base conda-build
170+
run: conda install -n base conda-build python=3.12
171171

172172
- name: Cache conda packages
173173
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3

.github/workflows/conda-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: echo $CONDA/bin >> $GITHUB_PATH
5252

5353
- name: Install conda-build
54-
run: conda install conda-build
54+
run: conda install conda-build python=3.12
5555

5656
- name: Build conda package
5757
run: |
@@ -94,7 +94,7 @@ jobs:
9494
run: echo $CONDA/bin >> $GITHUB_PATH
9595

9696
- name: Install conda-build
97-
run: conda install conda-build
97+
run: conda install conda-build python=3.12
9898

9999
- name: Create conda channel
100100
run: |
@@ -168,7 +168,7 @@ jobs:
168168
- name: Install conda-build
169169
run: |
170170
conda activate
171-
conda install -n base conda-build
171+
conda install -n base conda-build python=3.12
172172
173173
- name: Cache conda packages
174174
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3

0 commit comments

Comments
 (0)