This repository was archived by the owner on May 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - name : checkout
11- uses : actions/checkout@v2
11+ uses : actions/checkout@v4
1212 - name : test
1313 run : echo "implement e2e tests"
1414 publish :
1717 runs-on : ubuntu-latest
1818 steps :
1919 - name : Checkout
20- uses : actions/checkout@v2
20+ uses : actions/checkout@v4
2121 - name : Release
2222 uses : softprops/action-gh-release@v1
2323 if : startsWith(github.ref, 'refs/tags/')
@@ -33,10 +33,17 @@ jobs:
3333 needs : e2e
3434 runs-on : ubuntu-latest
3535 steps :
36+ - name : Generate a token
37+ id : generate_token
38+ uses : actions/create-github-app-token@v1
39+ with :
40+ app-id : ${{ secrets.AGENCY_RELEASER_ID }}
41+ private-key : ${{ secrets.AGENCY_RELEASER_KEY }}
3642 - name : checkout
37- uses : actions/checkout@v2
43+ uses : actions/checkout@v4
3844 with :
3945 ref : master
46+ token : ${{ steps.generate_token.outputs.token }}
4047 - name : merge
4148 run : |
4249 git fetch --tags origin
Original file line number Diff line number Diff line change 55 runs-on : ubuntu-latest
66 steps :
77 - name : setup
8- uses : actions/setup-go@v2
8+ uses : actions/setup-go@v5
99 with :
10- go-version : 1.16 .x
10+ go-version : 1.21 .x
1111 - name : checkout
12- uses : actions/checkout@v2
12+ uses : actions/checkout@v4
1313 - name : Install Protoc
14- uses : arduino/setup-protoc@v1
14+ uses : arduino/setup-protoc@v3
1515 - name : add go-gen
1616 run : |
17- go get github.com/ golang/protobuf/{proto, protoc-gen-go}
17+ go install google. golang.org /protobuf/cmd/ protoc-gen-go@latest
1818 go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
1919 - name : create work dir
2020 run : mkdir .grpc-out
You can’t perform that action at this time.
0 commit comments