From 179605c6cff1d751dda499406156e9ec62464af5 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Mon, 1 Jul 2024 11:50:56 -0700 Subject: [PATCH] Push flyteidl to pypi and npm on `flyteidl/v*.*.*` tags instead of on releases Signed-off-by: Eduardo Apolinario --- .github/workflows/flyteidl-release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flyteidl-release.yml b/.github/workflows/flyteidl-release.yml index 928da14848..94c13645b2 100644 --- a/.github/workflows/flyteidl-release.yml +++ b/.github/workflows/flyteidl-release.yml @@ -1,12 +1,12 @@ name: Upload flyteidl to PyPI and npm on: - release: - types: [published] + push: + tags: + - flyteidl/v*.*.* jobs: deploy-to-pypi: - if: "!startsWith(github.event.release.tag_name, 'flytectl/')" runs-on: ubuntu-latest defaults: run: @@ -29,7 +29,6 @@ jobs: python -m build twine upload dist/* deploy-to-npm: - if: "!startsWith(github.event.release.tag_name, 'flytectl/')" runs-on: ubuntu-latest defaults: run: