From 35c723fdddbfa95894a6a31ecfcbd13eb2c673c0 Mon Sep 17 00:00:00 2001 From: Vahid Tavanashad Date: Mon, 5 May 2025 23:49:07 -0700 Subject: [PATCH] update workflow to use python=3.12 for conda build --- .github/workflows/conda-package-cf.yml | 6 +++--- .github/workflows/conda-package.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/conda-package-cf.yml b/.github/workflows/conda-package-cf.yml index 876250b..462d99b 100644 --- a/.github/workflows/conda-package-cf.yml +++ b/.github/workflows/conda-package-cf.yml @@ -51,7 +51,7 @@ jobs: run: echo $CONDA/bin >> $GITHUB_PATH - name: Install conda-build - run: conda install conda-build + run: conda install conda-build python=3.12 - name: Build conda package with NumPy 2.0 run: | @@ -95,7 +95,7 @@ jobs: run: echo $CONDA/bin >> $GITHUB_PATH - name: Install conda-build - run: conda install conda-build + run: conda install conda-build python=3.12 - name: Create conda channel run: | @@ -167,7 +167,7 @@ jobs: conda-remove-defaults: 'true' - name: Install conda-build - run: conda install -n base conda-build + run: conda install -n base conda-build python=3.12 - name: Cache conda packages uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index f188ab4..86afbe7 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -51,7 +51,7 @@ jobs: run: echo $CONDA/bin >> $GITHUB_PATH - name: Install conda-build - run: conda install conda-build + run: conda install conda-build python=3.12 - name: Build conda package run: | @@ -94,7 +94,7 @@ jobs: run: echo $CONDA/bin >> $GITHUB_PATH - name: Install conda-build - run: conda install conda-build + run: conda install conda-build python=3.12 - name: Create conda channel run: | @@ -168,7 +168,7 @@ jobs: - name: Install conda-build run: | conda activate - conda install -n base conda-build + conda install -n base conda-build python=3.12 - name: Cache conda packages uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3