Bump version. #41
Workflow file for this run
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: Build and upload conda packages | |
# Triggered a new tag starting with "v" is pushed | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ${{ matrix .os }} | |
strategy: | |
matrix: | |
# https://github.com/s-weigand/setup-conda/issues/432 | |
os: [ubuntu-latest, windows-2019, macos-12] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Conda | |
uses: s-weigand/setup-conda@v1 | |
with: | |
update-conda: true | |
- name: Install dependencies | |
run: | | |
conda install conda-build anaconda-client -y | |
- name: Bulid and upload | |
env: | |
ANACONDA_API_TOKEN: ${{secrets.ANACONDA_TOKEN}} | |
run: | | |
python3 --version | |
conda config --set anaconda_upload yes | |
conda build .conda --user SpM-lab |