Revert CI to use apk for Alpine runner
The CI runner uses Alpine Linux, so we need to use apk instead of apt-get
This commit is contained in:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -35,8 +35,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install protoc and plugins
|
- name: Install protoc and plugins
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
apk add --no-cache protobuf-dev protoc
|
||||||
sudo apt-get install -y protobuf-compiler
|
|
||||||
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||||
echo "$HOME/go/bin" >> $GITHUB_PATH
|
echo "$HOME/go/bin" >> $GITHUB_PATH
|
||||||
@@ -97,8 +96,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install protoc and plugins
|
- name: Install protoc and plugins
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
apk add --no-cache protobuf-dev protoc
|
||||||
sudo apt-get install -y protobuf-compiler
|
|
||||||
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||||
echo "$HOME/go/bin" >> $GITHUB_PATH
|
echo "$HOME/go/bin" >> $GITHUB_PATH
|
||||||
@@ -144,8 +142,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install protoc and plugins
|
- name: Install protoc and plugins
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
apk add --no-cache protobuf-dev protoc
|
||||||
sudo apt-get install -y protobuf-compiler
|
|
||||||
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
|
||||||
echo "$HOME/go/bin" >> $GITHUB_PATH
|
echo "$HOME/go/bin" >> $GITHUB_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user