From 5c757a57559ac5559326c107f24c36cd7edc1cbe Mon Sep 17 00:00:00 2001 From: Rutger van Haasteren Date: Wed, 15 Nov 2023 10:30:45 +0100 Subject: [PATCH] Releases can be made from any branch. Includes conda and pypi packages. --- .github/workflows/ci_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index d9b179f..5cda1f4 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -130,7 +130,7 @@ jobs: conda config --set anaconda_upload no conda build recipe/ - name: Upload conda package to Anaconda Cloud - if: github.event_name == 'release' && github.ref == 'refs/heads/main' + if: github.event_name == 'release' run: | echo "Uploading to Anaconda Cloud..." anaconda -t ${{ secrets.ANACONDA_API_TOKEN }} upload $(conda build recipe/ --output)