From 76b047d32dbeadfebf9c484c3a35281e3d344e6e Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Sat, 27 Apr 2024 01:16:30 +0800 Subject: [PATCH] fix: action build with protoc installed --- .github/workflows/build-nightly-release.yml | 4 ++++ .github/workflows/build-release.yml | 4 ++++ .github/workflows/clippy-check.yml | 2 ++ 3 files changed, 10 insertions(+) diff --git a/.github/workflows/build-nightly-release.yml b/.github/workflows/build-nightly-release.yml index e68953b57abf..a004fd86d12c 100644 --- a/.github/workflows/build-nightly-release.yml +++ b/.github/workflows/build-nightly-release.yml @@ -83,6 +83,8 @@ jobs: brew install gnu-tar # echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin" echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH + - name: Install Protoc + uses: arduino/setup-protoc@v3 - name: Install Rust run: | @@ -111,6 +113,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ilammy/setup-nasm@v1 + - name: Install Protoc + uses: arduino/setup-protoc@v3 - name: Install Rust run: | diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 14feaabd4aca..5f03fa6d2679 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -103,6 +103,8 @@ jobs: brew install gnu-tar # echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin" echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH + - name: Install Protoc + uses: arduino/setup-protoc@v3 - name: Install Rust run: | @@ -134,6 +136,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ilammy/setup-nasm@v1 + - name: Install Protoc + uses: arduino/setup-protoc@v3 - name: Install Rust run: | diff --git a/.github/workflows/clippy-check.yml b/.github/workflows/clippy-check.yml index 3fadecaacb33..9a9696079c72 100644 --- a/.github/workflows/clippy-check.yml +++ b/.github/workflows/clippy-check.yml @@ -25,6 +25,8 @@ jobs: - uses: Swatinem/rust-cache@v2 - if: ${{ runner.os == 'Windows' }} uses: ilammy/setup-nasm@v1 + - name: Install Protoc + uses: arduino/setup-protoc@v3 - name: Install Rust run: | rustup set profile minimal