Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: eitsupi <[email protected]>
  • Loading branch information
tokoko and eitsupi authored Oct 27, 2024
1 parent 3609834 commit 9e660a1
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,16 @@ jobs:
rustup toolchain install stable --no-self-update
rustup default stable
- name: Install Protoc
if: matrix.os == 'ubuntu-latest'
run: |
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-linux-x86_64.zip
unzip protoc-28.3-linux-x86_64.zip -d $HOME/.local
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Install Protoc
if: matrix.os == 'macos-13'
if: runner.os == 'Linux'
run: |
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-osx-x86_64.zip
unzip protoc-28.3-osx-x86_64.zip -d $HOME/.local
curl -LO "https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-linux-$(uname -m).zip" -o protoc.zip
unzip protoc.zip -d $HOME/.local
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Install Protoc
if: matrix.os == 'macos-latest'
if: runner.os == 'macOS'
run: |
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-osx-aarch_64.zip
unzip protoc-28.3-osx-aarch_64.zip -d $HOME/.local
curl -LO "https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-osx-$(uname -m).zip" -o protoc.zip
unzip "protoc.zip" -d $HOME/.local
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 9e660a1

Please sign in to comment.