Skip to content

Commit

Permalink
Push flyteidl to pypi and npm on flyteidl/v*.*.* tags instead of on…
Browse files Browse the repository at this point in the history
… releases (#5529)

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Jul 1, 2024
1 parent 5b0d787 commit 9b2a04b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/flyteidl-release.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 9b2a04b

Please sign in to comment.