Skip to content

Bump version to 2.0.0a7 #49

Bump version to 2.0.0a7

Bump version to 2.0.0a7 #49

Workflow file for this run

name: Build and upload conda packages
# Triggered a new tag starting with "v" is pushed
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix .os }}
strategy:
matrix:
# https://github.com/s-weigand/setup-conda/issues/432
os: [ubuntu-latest]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Conda info
shell: bash -el {0}
run: conda info
- name: Install dependencies
run: |
conda install conda-build anaconda-client -y
- name: Build and upload
env:
ANACONDA_API_TOKEN: ${{secrets.ANACONDA_TOKEN}}
CONDA_PY: "312"
run: |
python3 --version
conda config --set anaconda_upload yes
conda build .conda --user SpM-lab -c spm-lab -c conda-forge --numpy 2.1