Add option to edit help text (#441) #858
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: 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' | |