-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 970 Bytes
/
push.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: buf-push
on:
push:
branches:
- main
jobs:
build-push-payments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-breaking-action@v1
with:
against: 'https://github.com/${GITHUB_REPOSITORY}.git#branch=main,ref=HEAD~1'
- uses: bufbuild/buf-push-action@v1
with:
input: paymentapis
buf_token: ${{ secrets.BUF_TOKEN }}
build-push-pets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-breaking-action@v1
with:
against: 'https://github.com/${GITHUB_REPOSITORY}.git#branch=main,ref=HEAD~1'
- uses: bufbuild/buf-push-action@v1
with:
input: petapis
buf_token: ${{ secrets.BUF_TOKEN }}