fix: action build with protoc installed

This commit is contained in:
zonyitoo
2024-04-27 01:16:30 +08:00
parent e8095c203e
commit 76b047d32d
3 changed files with 10 additions and 0 deletions
@@ -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: |
+4
View File
@@ -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: |
+2
View File
@@ -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