-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/nanthony21/mpl_qt_viz
- Loading branch information
Showing
1 changed file
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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* |