mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
30 lines
630 B
YAML
30 lines
630 B
YAML
name: Push new version to schema registry
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "**"
|
|
|
|
jobs:
|
|
push_to_registry:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Buf
|
|
uses: bufbuild/buf-setup-action@v1.26.1
|
|
with:
|
|
github_token: ${{ github.token }}
|
|
|
|
- name: Push to schema registry
|
|
# uses: bufbuild/buf-push-action@v1
|
|
# with:
|
|
# buf_token: ${{ secrets.BUF_TOKEN }}
|
|
run: |
|
|
export BUF_TOKEN=${{ secrets.BUF_TOKEN }}
|
|
buf push --tag ${{ github.ref_name }}
|