Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kaibocai committed Dec 1, 2023
1 parent 2a2a7e2 commit d1677f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:

env:
# Configure protoc and go grpc plugin
PROTOC: "25.x"
PROTOC-GEN-GO: "v1.28"
PROTOC-GEN-GO-GRPC: "v1.2"
PROTOC_VERSION: "25.x"
PROTOC_GEN_GO: "v1.28"
PROTOC_GEN_GO_GRPC: "v1.2"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -46,12 +46,12 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
version: ${{ env.PROTOC }}
version: ${{ env.PROTOC_VERSION }}

- name: Installing protoc-gen-go
run: |
go install google.golang.org/protobuf/cmd/protoc-gen-go@$PROTOC-GEN-GO
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@$PROTOC-GEN-GO-GRPC
go install google.golang.org/protobuf/cmd/protoc-gen-go@$PROTOC_GEN_GO
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@$PROTOC_GEN_GO_GRPC
- name: Generate grpc code
run: protoc --go_out=. --go-grpc_out=. -I ./submodules/durabletask-protobuf/protos orchestrator_service.proto
Expand Down

0 comments on commit d1677f2

Please sign in to comment.