Skip to content

Commit

Permalink
Add gh workflow to publish flyteidl to buf (#4178)
Browse files Browse the repository at this point in the history
* Add gh workflow to publish flyteidl to buf

Signed-off-by: Eduardo Apolinario <[email protected]>

* Put in the right place

Signed-off-by: Eduardo Apolinario <[email protected]>

* Do not push to buf on pull requests

Signed-off-by: Eduardo Apolinario <[email protected]>

* Only push to buf if flyteidl changes

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Oct 10, 2023
1 parent 4717c8d commit 9e8a909
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/flyteidl-buf-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish flyteidl Buf Package

on:
push:
branches:
- master
paths:
- 'flyteidl/**'
jobs:
buf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-push-action@v1
with:
buf_token: ${{ secrets.BUF_TOKEN }}
input: 'flyteidl/protos'

0 comments on commit 9e8a909

Please sign in to comment.