Bump to 0.4.3 #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: conda-release | |
on: | |
push: | |
branches: | |
- master | |
- conda-release | |
tags: | |
- 'v*' | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up miniconda with python 3.9 | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: 3.9 | |
activate-environment: test | |
environment-file: environment.yml | |
auto-activate-base: false | |
- name: Install build tools | |
shell: bash -l {0} | |
run: | | |
conda install conda-build anaconda-client conda-verify | |
- name: Build conda package | |
shell: bash -l {0} | |
run: | | |
conda build . | |
- name: Upload to haasad conda channel | |
if: startsWith(github.ref, 'refs/tags/v') | |
shell: bash -l {0} | |
run: | | |
anaconda -t ${{ secrets.CONDA_TOKEN }} upload /usr/share/miniconda/envs/test/conda-bld/noarch/*.tar.bz2 |