Skip to content

Commit 7327c73

Browse files
authored
Add Publish to Buf Github Action (#56)
1 parent e368e62 commit 7327c73

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.github/workflows/push-to-buf.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Push to Buf Registry
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v**'
7+
branches:
8+
- main
9+
permissions:
10+
contents: read
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repo
16+
uses: actions/checkout@v4
17+
- uses: bufbuild/buf-action@v1
18+
with:
19+
version: 1.49.0
20+
token: ${{ secrets.BUF_TEMPORALIO_TOKEN }}

buf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
version: v1
2+
name: buf.build/temporalio/cloud-api
23
deps:
34
- buf.build/googleapis/googleapis
45
- buf.build/temporalio/api:v1.43.0

0 commit comments

Comments
 (0)