Skip to content

feat: upgrade to v1.20.0-rc2 #2

feat: upgrade to v1.20.0-rc2

feat: upgrade to v1.20.0-rc2 #2

name: Rebuild Protos
on:
push:
branches: main
paths:
- 'proto-build/**'
jobs:
proto-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: Install protoc
run: sudo apt-get install protobuf-compiler
- name: Run proto-build
id: build
working-directory: proto-build
run: |
message=$(cargo run --quiet -- --github)
echo "::set-output name=commit_message::${message}"
- name: Create pull request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: ${{ steps.build.outputs.commit_message }}
title: ${{ steps.build.outputs.commit_message }}
branch: rebuild-protos