Skip to content

Commit

Permalink
Update conda-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nanthony21 authored Jan 18, 2021
1 parent 4410188 commit 15e0511
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/conda-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Upload Anaconda Cloud

on: workflow_dispatch
on:
release:
types: [created]

jobs:
publish:
Expand All @@ -17,5 +19,5 @@ jobs:
- name: Build
run: conda build . --output-folder ./condaDist
- name: publish-to-conda
shell: bash -l {0}
shell: bash -l {0} # This is needed in order to activate the bash environment created by conda. Otherwise the `anaconda` command won't be found
run: anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload condaDist/noarch/mpl_qt_viz*

0 comments on commit 15e0511

Please sign in to comment.