From b9918b74d767ba34ded133648a1e0c85bfe5b424 Mon Sep 17 00:00:00 2001 From: mio Date: Mon, 4 Oct 2021 17:49:04 +0200 Subject: [PATCH] Online publish when tagging --- .github/workflows/PyPI-publishing.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PyPI-publishing.yml b/.github/workflows/PyPI-publishing.yml index 63d98e90f4..4e523da196 100644 --- a/.github/workflows/PyPI-publishing.yml +++ b/.github/workflows/PyPI-publishing.yml @@ -1,6 +1,10 @@ name: PyPI 📦 Distribution -on: [push] +on: + push: + tags: + - "*" + workflow_dispatch: jobs: build: @@ -97,7 +101,6 @@ jobs: publish: needs: [build] runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags') steps: - uses: actions/download-artifact@v2 with: