Skip to content

Commit f1621b4

Browse files
ci: push proto files to buf registry (#2950)
Pushes proto files when the files change on master and when we release a new tag
1 parent 20c9dd4 commit f1621b4

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release Proto files
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- "v[0-9]+.[0-9]+.[0-9]+*"
9+
10+
jobs:
11+
create-release-artifacts:
12+
permissions:
13+
contents: read
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- uses: bufbuild/buf-action@v1
21+
with:
22+
token: ${{ secrets.BUF_TOKEN }}
23+
push: true

buf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ lint:
1717
- rpc/cc/arduino/cli/commands/v1/lib.proto
1818
modules:
1919
- path: rpc
20+
name: buf.build/arduino/arduino-cli

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy