feat: upgrade to v1.20.0-rc2 #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |