From b80aa0f20582dac12acbb3a07b40277119f69974 Mon Sep 17 00:00:00 2001 From: krande Date: Thu, 26 Aug 2021 21:51:59 +0200 Subject: [PATCH] add ci flag for skipping tests IF it already has tested and uploaded it to conda --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c81f667..1d0b5bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,6 +65,7 @@ jobs: conda-build -c krande -c conda-forge conda --python=${{ matrix.pyver.distver }} --token=$ANACONDA_TOKEN --user krande --override-channels - name: build and test conda package + if: github.event_name == 'push' && github.ref != 'refs/heads/main' shell: bash -l {0} run: | conda-build -c krande -c conda-forge conda --python=${{ matrix.pyver.distver }} --override-channels