Skip to content

HOPP v2.2.0

HOPP v2.2.0 #5

Workflow file for this run

name: Conda Build and Upload
on:
release:
types: [published]
jobs:
build:
name: Conda
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.7
- name: Build and upload conda package
shell: bash -l {0}
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
conda install --yes --quiet conda-build conda-verify anaconda-client
conda build conda.recipe/ -c nrel -c conda-forge -c sunpower
anaconda -t $ANACONDA_TOKEN upload -u nrel $(conda build conda.recipe/ -c nrel -c conda-forge -c sunpower --output)