Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fcakyon/conda-publish-action
Github Action to deploy conda package to Anaconda repository
https://github.com/fcakyon/conda-publish-action
action anaconda anaconda-distribution conda conda-build conda-packages conda-recipe github-actions github-workflow package publish
Last synced: 6 days ago
JSON representation
Github Action to deploy conda package to Anaconda repository
- Host: GitHub
- URL: https://github.com/fcakyon/conda-publish-action
- Owner: fcakyon
- License: mit
- Fork: true (maxibor/conda-package-publish-action)
- Created: 2020-04-05T09:15:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T17:00:45.000Z (almost 2 years ago)
- Last Synced: 2024-10-16T20:14:20.283Z (23 days ago)
- Topics: action, anaconda, anaconda-distribution, conda, conda-build, conda-packages, conda-recipe, github-actions, github-workflow, package, publish
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 27
- Watchers: 1
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - Publish a Python Distribution Package to Anaconda Cloud
- fucking-awesome-actions - Publish a Python Distribution Package to Anaconda Cloud
- awesome-workflows - Publish a Python Distribution Package to Anaconda Cloud
README
# Publish Anaconda Package
A Github Action to publish your software package to an Anaconda repository.
### Example workflow to publish to conda every time you make a new release
```yaml
name: publish_condaon:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: publish-to-conda
uses: fcakyon/[email protected]
with:
subdir: 'conda'
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: 'win osx linux'
```### Example project structure
```
.
├── LICENSE
├── README.md
├── setup.py
├── myproject
│ ├── __init__.py
│ └── myproject.py
├── conda
│ ├── conda_build_config.yaml
│ └── meta.yaml
├── .github
│ └── workflows
│ └── publish_conda.yml
├── .gitignore
```### ANACONDA_TOKEN
1. Get an Anaconda token (with read and write API access) at `anaconda.org/USERNAME/settings/access`
2. Add it to the Secrets of the Github repository as `ANACONDA_TOKEN`### Supported anaconda channels
- conda-forge
- pytorch
- fcakyon
- districtdatalabs