diff --git a/.github/workflows/release-proto-files.yml b/.github/workflows/release-proto-files.yml new file mode 100644 index 00000000000..abe11708d60 --- /dev/null +++ b/.github/workflows/release-proto-files.yml @@ -0,0 +1,23 @@ +name: Release Proto files + +on: + push: + branches: + - master + tags: + - "v[0-9]+.[0-9]+.[0-9]+*" + +jobs: + create-release-artifacts: + permissions: + contents: read + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: bufbuild/buf-action@v1 + with: + token: ${{ secrets.BUF_TOKEN }} + push: true diff --git a/buf.yaml b/buf.yaml index 16a8f720093..c82ae255bf4 100644 --- a/buf.yaml +++ b/buf.yaml @@ -17,3 +17,4 @@ lint: - rpc/cc/arduino/cli/commands/v1/lib.proto modules: - path: rpc + name: buf.build/arduino/arduino-cli