From 89cabc4b3b201b04f407d29d1ec3dd5b8781bd74 Mon Sep 17 00:00:00 2001 From: "Bade, Jessica L" Date: Wed, 18 Dec 2024 12:25:12 -0800 Subject: [PATCH] Install and switch usage to conda-index --- .github/workflows/actions.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 1d4e6a6..4672f45 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -108,17 +108,25 @@ jobs: - name: Install dependencies run: | - mamba install boa anaconda-client conda-verify conda-build + mamba install boa anaconda-client conda-verify conda-build -y + mamba install -c conda-forge conda-index -y - name: Build conda package run: | - mkdir build/ + mkdir -p build/ conda mambabuild conda-recipe/ --output-folder build/ - conda index build/ + + - name: Index conda package + run: | + conda-index build/ - name: Convert to osx-arm64 run: conda convert -p osx-arm64 build/linux-64/*.tar.bz2 -o build/ + - name: Index converted package + run: | + conda-index build/ + - name: Upload packages env: ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}