Skip to content

Commit

Permalink
ci:fix protobuf installation
Browse files Browse the repository at this point in the history
  • Loading branch information
limuy2022 committed Jun 16, 2024
1 parent 55a58b4 commit 871d668
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: actions/checkout@v4
- name: Config Env
run: rustup install nightly && rustup default nightly && rustup component add rustfmt
- name: Install Protobuf
run: sudo apt-get install protobuf-compiler -y
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: Build
run: cd gdrust && cargo build --all
- name: Build Release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: actions/checkout@v4
- name: Config Env
run: rustup install nightly && rustup default nightly
- name: Install Protobuf
run: sudo brew install protobuf
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: Build
run: cd gdrust && cargo build --all
- name: Build Release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- uses: actions/checkout@v4
- name: Config Env
run: rustup install nightly && rustup default nightly
- name: Install Protobuf
run: winget install protobuf
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: Build
run: cd gdrust && cargo build --all
- name: Build Release
Expand Down

0 comments on commit 871d668

Please sign in to comment.