Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 18, 2021
2 parents 1d91ad0 + 51ca90b commit c99a5d7
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/conda-publish.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: publish_conda
name: Upload Anaconda Cloud

on:
release:
types: [published]
on: workflow_dispatch

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- pip install setuptools_scm
- name: publish-to-conda
uses: fcakyon/[email protected]
with:
subdir: 'conda.recipe'
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: 'win osx linux'
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true
activate-environment: ""
- name: Install dependencies
run: |
conda install setuptools_scm conda-build anaconda-client
- name: Build
run: conda build . --output-folder ./condaDist
- name: publish-to-conda
run: anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload condaDist/noarch/mpl_qt_viz*

0 comments on commit c99a5d7

Please sign in to comment.