From 155dd87b06e85dfa8517822ec340a1990f1bc0aa Mon Sep 17 00:00:00 2001 From: Zaharid Date: Wed, 3 Mar 2021 15:45:32 +0000 Subject: [PATCH] Try to upload only on master Do not upload packages that are built in PRs. --- .github/workflows/conda.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 38f26dc..d97ea52 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -30,6 +30,7 @@ jobs: conda build conda-recipe - name: Upload + if: github.ref == 'refs/heads/master' shell: bash -l {0} run: | scp ${CONDA_PREFIX}/conda-bld/noarch/*.tar.bz2 dummy@packages.nnpdf.science:~/packages/conda/noarch/