Skip to content

Small Patches to the Conda Build #9

Small Patches to the Conda Build

Small Patches to the Conda Build #9

Workflow file for this run

name: Conda Build
on:
pull_request:
push:
branches:
- stable
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: false
conda-solver: libmamba
auto-activate-base: true
activate-environment: ""
- name: Install Build Tools
run: conda install python anaconda-client conda-build
- name: Configure Auto-Upload
if: github.ref == 'refs/heads/stable'
run: |
conda config --set anaconda_upload yes
- name: Build Binary
env:
CONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
conda config --add channels conda-forge
conda-build --token $CONDA_TOKEN --user rmg .conda