From 25db4deac357d4d8570a9c89f5cd21c5f5396ace Mon Sep 17 00:00:00 2001 From: Matteo Tortora Date: Tue, 7 Jun 2022 10:10:23 +0200 Subject: [PATCH 1/2] Create publish_conda.yml --- .github/workflows/publish_conda.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/publish_conda.yml diff --git a/.github/workflows/publish_conda.yml b/.github/workflows/publish_conda.yml new file mode 100644 index 0000000..84fd3b4 --- /dev/null +++ b/.github/workflows/publish_conda.yml @@ -0,0 +1,16 @@ +name: publish_conda + +on: + push + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: publish-to-conda + uses: fcakyon/conda-publish-action@v1.3 + with: + subdir: 'conda' + anacondatoken: ${{ secrets.ANACONDA_TOKEN }} + platforms: 'win osx linux' From b3790cf26d0eeb7a821c6573db7e89cfcf06470a Mon Sep 17 00:00:00 2001 From: Matteo Tortora Date: Tue, 7 Jun 2022 10:17:15 +0200 Subject: [PATCH 2/2] Update publish_conda.yml --- .github/workflows/publish_conda.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_conda.yml b/.github/workflows/publish_conda.yml index 84fd3b4..3a00847 100644 --- a/.github/workflows/publish_conda.yml +++ b/.github/workflows/publish_conda.yml @@ -1,7 +1,7 @@ name: publish_conda on: - push + workflow_dispatch jobs: publish: @@ -13,4 +13,4 @@ jobs: with: subdir: 'conda' anacondatoken: ${{ secrets.ANACONDA_TOKEN }} - platforms: 'win osx linux' + platforms: 'win osx'