From 01878272332fa8cca739caa5dcce32fa295f3f6a Mon Sep 17 00:00:00 2001 From: Antoine Meillet Date: Fri, 10 Sep 2021 13:42:22 +0200 Subject: [PATCH] Only publish tags to TestPyPI --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9919139..2a81aed 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,7 +34,7 @@ jobs: name: Publish Python distributions to TestPyPI runs-on: ubuntu-latest needs: run-tests # only run when tests where successful - if: github.ref == 'refs/heads/master' + if: startsWith(github.ref, 'refs/tags') steps: - uses: actions/checkout@v2