Skip to content

Commit

Permalink
Install and switch usage to conda-index
Browse files Browse the repository at this point in the history
  • Loading branch information
jessbade committed Dec 18, 2024
1 parent ba9f129 commit 89cabc4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 89cabc4

Please sign in to comment.