Skip to content

Commit

Permalink
Merge pull request #9 from fusion-energy/Mambabuild
Browse files Browse the repository at this point in the history
Update anaconda-publish.yml to use mamba
  • Loading branch information
shimwell committed Sep 16, 2022
2 parents cb41aae + 1d1c753 commit 8a675bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/anaconda-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ jobs:
- name: Set up conda
run: |
apt-get --allow-releaseinfo-change update
apt install -y libgl1-mesa-glx
conda install -y anaconda-client conda-build
conda config --set anaconda_upload no
conda install boa -c conda-forge
- name: Build and publish to conda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
conda build conda -c fusion-energy -c conda-forge --config-file conda/conda_build_config.yaml
conda mambabuild conda -c fusion-energy -c conda-forge --config-file conda/conda_build_config.yaml
conda convert /opt/conda/conda-bld/linux-64/*.tar.bz2 --platform osx-64
anaconda upload -f /opt/conda/conda-bld/*/*.tar.bz2
Expand Down

0 comments on commit 8a675bb

Please sign in to comment.