We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb2d35 commit dd67b46Copy full SHA for dd67b46
.github/workflows/protobuf.yml
@@ -0,0 +1,30 @@
1
+name: Update protobuf files
2
+
3
+on: workflow_dispatch
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Checkout code
11
+ uses: actions/checkout@v3
12
+ with:
13
+ submodules: recursive
14
15
+ - name: Run install.sh
16
+ run: |-
17
+ chmod +x ./install.sh
18
+ ./install.sh
19
20
+ - name: Run protobuf.sh
21
22
+ chmod +x ./protobuf.sh
23
+ ./protobuf.sh
24
25
+ - name: Commit and push if it changed
26
27
+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
28
+ git config --local user.name "github-actions[bot]"
29
+ git diff --quiet && git diff --staged --quiet || (git add . ; git commit -m 'Update protobuf classes')
30
+ git push
0 commit comments