Skip to content

Publish Conda package Action

Actions
Publish conda package
2.0.3
Latest
Star (2)

Publish Anaconda Package Action

A Github Action to publish your Python package to Anaconda Cloud.

Starting 2.0.0, it uses mamba (from boa) to build the package (more faster than conda build command...)

Example workflow

name: Publish

on: [release]

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:

    - name: Checkout
      uses: actions/checkout@v2

    - name: publish-to-conda
      uses: amauryval/[email protected]
      with:
        # CondaDir: locate the directory containing your meta.yml, conda_build_config.yaml (...) files
        CondaDir: 'conda'
        # Channels: You can add more channel with a space separator
        Channels: 'conda-forge an-other-chan' 
        # Platforms: remove one or more of these platforms
        Platforms: 'osx-64 linux-32 linux-64 win-32 win-64 noarch'
        CondaUsername: ${{ secrets.CONDA_USERNAME }}
        CondaPassword: ${{ secrets.CONDA_PASSWORD }}
  • Configure CONDA_USERNAME and CONDA_PASSWORD secrets on your settings repository

Publish Conda package Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Publish conda package
2.0.3
Latest

Publish Conda package Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.