From 20e0ca6db2c1f17fd6de09aeda5c41592066e693 Mon Sep 17 00:00:00 2001 From: Tim Neumann Date: Fri, 29 Jul 2022 19:15:58 +0200 Subject: [PATCH] fix(ci): Only publish on tags --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 48fa654..a01602d 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -38,7 +38,7 @@ jobs: publish: runs-on: ubuntu-latest needs: build - if: github.ref == 'refs/heads/main' + if: startsWith(github.ref, 'refs/tags/') steps: - uses: actions/checkout@v2 - uses: actions/download-artifact@v3