Skip to content

Commit

Permalink
Bump protoc version
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Gisondi <antonio.gisondi@secomind.com>
  • Loading branch information
harlem88 committed Oct 9, 2023
1 parent 87375d2 commit b48337d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/code-generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ on:
branches:
- 'main'
- 'release-*'
env:
PB_REL: https://github.com/protocolbuffers/protobuf/releases
PB_VER: '24.4'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/python-code-generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,15 @@ permissions:
on:
workflow_call:

env:
PB_REL: https://github.com/protocolbuffers/protobuf/releases

jobs:
python-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install protoc
run: |
curl -LO $PB_REL/download/v24.3/protoc-24.3-linux-x86_64.zip
unzip protoc-24.3-linux-x86_64.zip -d $HOME/.local
curl -LO $PB_REL/download/v$PB_VER/protoc-$PB_VER-linux-x86_64.zip
unzip protoc-$PB_VER-linux-x86_64.zip -d $HOME/.local
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Make dir for grpc
run: mkdir ./grpc/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-code-generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install protoc
run: |
curl -LO $PB_REL/download/v24.3/protoc-24.3-linux-x86_64.zip
unzip protoc-24.3-linux-x86_64.zip -d $HOME/.local
curl -LO $PB_REL/download/v$PB_VER/protoc-$PB_VER-linux-x86_64.zip
unzip protoc-$PB_VER-linux-x86_64.zip -d $HOME/.local
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@master
Expand Down

0 comments on commit b48337d

Please sign in to comment.