mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-11-06 08:14:07 +00:00
fix: action build with protoc installed
This commit is contained in:
@@ -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: |
|
||||
|
||||
@@ -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: |
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user