mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-11 23:52:14 +00:00
Merge pull request #4805 from scruplelesswizard/update-classes-on-protobuf-update
Update classes on protobufs update
This commit is contained in:
commit
01203eb854
26
.github/workflows/update_protobufs.yml
vendored
26
.github/workflows/update_protobufs.yml
vendored
@ -1,5 +1,10 @@
|
|||||||
name: "Update protobufs and regenerate classes"
|
name: Update protobufs and regenerate classes
|
||||||
on: workflow_dispatch
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- protobufs/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-protobufs:
|
update-protobufs:
|
||||||
@ -11,10 +16,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Update submodule
|
|
||||||
run: |
|
|
||||||
git submodule update --remote protobufs
|
|
||||||
|
|
||||||
- name: Download nanopb
|
- name: Download nanopb
|
||||||
run: |
|
run: |
|
||||||
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8-linux-x86.tar.gz
|
wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8-linux-x86.tar.gz
|
||||||
@ -25,10 +26,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./bin/regen-protos.sh
|
./bin/regen-protos.sh
|
||||||
|
|
||||||
- name: Create pull request
|
- name: Commit changes
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
title: Update protobufs and classes
|
add: src/mesh
|
||||||
add-paths: |
|
author_name: CI Bot
|
||||||
protobufs
|
author_email: meshtastic-ci-bot@users.noreply.github.com
|
||||||
src/mesh
|
default_author: github_actor
|
||||||
|
message: Update classes from protobufs
|
||||||
|
Loading…
Reference in New Issue
Block a user