Skip to content

Conda packaging

Conda packaging #4

Workflow file for this run

name: Conda packaging
on:
# Automatic trigger on release
release:
types: [ published ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
conda_build:
name: Build conda package
runs-on: "ubuntu-latest"
environment: anaconda
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.10"
- name: Conda build
run: |
conda install conda-build anaconda-client
ANACONDA_API_TOKEN=${{ secrets.ANACONDA_PWD }}
conda build conda/recipe/ -c conda-forge --user romi-eu