Skip to content

Add option to edit help text #855

Add option to edit help text

Add option to edit help text #855

name: publish_conda
on:
release:
types: [published]
push:
branches: [ master ]
tags:
- '**'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # All history for use later with the meta.yaml file for conda-recipes
- name: publish-to-conda
uses: TomographicImaging/conda-package-publish-action@v2
with:
subDir: 'Wrappers/Python/conda-recipe'
channels: '-c conda-forge -c ccpi'
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}
publish: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
test_all: ${{(github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')) || (github.ref == 'refs/heads/master')}}
additional_apt_packages: 'libegl1-mesa libegl1-mesa-dev'