Skip to main content
Anaconda’s official GitHub Actions allow you to integrate Anaconda tools and package management into your CI/CD workflows, replacing the need for manual CLI setup or uncertified community actions.

setup-anaconda-cli

Provisions the Anaconda CLI and optional tools (like pixi) in your runner, so you can use them directly in subsequent workflow steps.

Usage example

Inputs

Outputs

Platform support

This action supports Linux, macOS, and Windows runners.

upload-package

Uploads conda or Python packages to any Anaconda registry. The target-type input determines where packages are published.

Usage examples

Upload a conda package to your Anaconda.org organization:
Upload a Python wheel as a private package with labels:

Authentication

The upload-package action requires an API token for the registry you’re publishing to. Generate a token for your target registry, then store it as a GitHub Actions secret in your repository or organization settings.

Inputs

The following inputs apply only when target-type is anaconda.org:

Full workflow example

This workflow builds a conda package on push to a version tag and publishes it to Anaconda.org:

Migrating from existing workflows

If you’re currently using CLI commands directly in your workflows, you can replace them with the upload-package action:
Before:
After:

Release history

For a complete list of versions and changes, see the GitHub Actions releases.