Skip to content

v0.3.0

v0.3.0 #3

name: anaconda-publish
on:
workflow_dispatch:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
container: continuumio/miniconda3:4.10.3
steps:
- uses: actions/checkout@v2
- 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 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
# Note conversion to windows is not supported as OpenMC is a dependency