diff --git a/.github/main.workflow b/.github/main.workflow index cc3ab26..ef40ed2 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -22,8 +22,14 @@ action "pytest" { uses = "./actions/pytest" } -action "pypi" { +action "tag-filter" { needs = "pytest" + uses = "actions/bin/filter@master" + args = "tag" +} + +action "pypi" { + needs = "tag-filter" uses = "./actions/pypi" secrets = ["TWINE_USERNAME", "TWINE_PASSWORD"] }