From 1c5b1e14d27536d84a340153f9c5d460614fadc6 Mon Sep 17 00:00:00 2001 From: David Lam Date: Sun, 2 Jun 2019 15:24:38 -0700 Subject: [PATCH] add tag-filter --- .github/main.workflow | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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"] }