@@ -100,33 +100,33 @@ jobs:
100
100
working-directory : ./Generation/JavaScript.Web
101
101
run : yarn build
102
102
103
- golang-build :
104
- name : Go Build
105
- runs-on : ubuntu-latest
106
- needs : context
107
- steps :
108
- - uses : actions/checkout@v2
109
- - uses : actions/setup-go@v2
110
- with :
111
- go-version : " 1.16.2"
112
- - uses : arduino/setup-protoc@v1
113
- with :
114
- version : " 3.18.1"
115
- - run : go get google.golang.org/protobuf/cmd/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc
116
- - name : Update VersionInfo
117
- uses : dolittle/update-version-info-action@v1
118
- with :
119
- version : ${{ needs.context.outputs.versioninfo-version }}
120
- files-to-update : |
121
- Generation/Go/template/VersionInfo.go
122
- - name : Generate code
123
- working-directory : ./Generation/Go
124
- run : ./generate.sh ${{ needs.context.outputs.version }}
103
+ # golang-build:
104
+ # name: Go Build
105
+ # runs-on: ubuntu-latest
106
+ # needs: context
107
+ # steps:
108
+ # - uses: actions/checkout@v2
109
+ # - uses: actions/setup-go@v2
110
+ # with:
111
+ # go-version: "1.16.2"
112
+ # - uses: arduino/setup-protoc@v1
113
+ # with:
114
+ # version: "3.18.1"
115
+ # - run: go get google.golang.org/protobuf/cmd/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc
116
+ # - name: Update VersionInfo
117
+ # uses: dolittle/update-version-info-action@v1
118
+ # with:
119
+ # version: ${{ needs.context.outputs.versioninfo-version }}
120
+ # files-to-update: |
121
+ # Generation/Go/template/VersionInfo.go
122
+ # - name: Generate code
123
+ # working-directory: ./Generation/Go
124
+ # run: ./generate.sh ${{ needs.context.outputs.version }}
125
125
126
126
release :
127
127
name : Release
128
128
runs-on : ubuntu-latest
129
- needs : [context, dot-net-build, java-script-build, java-script-web-build, golang-build ]
129
+ needs : [context, dot-net-build, java-script-build, java-script-web-build]
130
130
if : ${{ needs.context.outputs.should-publish == 'true' }}
131
131
steps :
132
132
- uses : actions/checkout@v2
@@ -247,47 +247,47 @@ jobs:
247
247
env :
248
248
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
249
249
250
- golang-release :
251
- name : Go Release
252
- runs-on : ubuntu-latest
253
- needs : [context, release]
254
- if : ${{ needs.context.outputs.should-publish == 'true' }}
255
- steps :
256
- - uses : actions/checkout@v2
257
- - uses : actions/setup-go@v2
258
- with :
259
- go-version : " 1.16.2"
260
- - uses : arduino/setup-protoc@v1
261
- with :
262
- version : " 3.18.1"
263
- - run : go get google.golang.org/protobuf/cmd/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc
264
- - name : Update VersionInfo
265
- uses : dolittle/update-version-info-action@v1
266
- with :
267
- version : ${{ needs.context.outputs.versioninfo-version }}
268
- files-to-update : |
269
- Generation/Go/template/VersionInfo.go
270
- - name : Generate code
271
- working-directory : ./Generation/Go
272
- run : ./generate.sh ${{ needs.context.outputs.version }}
273
- - uses : actions/checkout@v2
274
- with :
275
- repository : dolittle/Go.Contracts
276
- token : ${{ secrets.BUILD_PAT }}
277
- path : ./Generation/Go/output
278
- - name : Cleanout old released code
279
- working-directory : ./Generation/Go/output
280
- run : rm -r * && git checkout -- README.md LICENSE
281
- - name : Copy new generated code
282
- working-directory : ./Generation/Go/
283
- run : cp -r generated/* output
284
- - name : Commit new generated code and tag as release
285
- working-directory : ./Generation/Go/output
286
- run : |
287
- git config user.name "Contracts Release GitHub Actions"
288
- git config user.email "contracts-release@dolittle.com"
289
- git add .
290
- git commit --allow-empty -m "Generated code for ${{ needs.context.outputs.version }}"
291
- git tag "v${{ needs.context.outputs.version }}"
292
- git push
293
- git push --tags
250
+ # golang-release:
251
+ # name: Go Release
252
+ # runs-on: ubuntu-latest
253
+ # needs: [context, release]
254
+ # if: ${{ needs.context.outputs.should-publish == 'true' }}
255
+ # steps:
256
+ # - uses: actions/checkout@v2
257
+ # - uses: actions/setup-go@v2
258
+ # with:
259
+ # go-version: "1.16.2"
260
+ # - uses: arduino/setup-protoc@v1
261
+ # with:
262
+ # version: "3.18.1"
263
+ # - run: go get google.golang.org/protobuf/cmd/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc
264
+ # - name: Update VersionInfo
265
+ # uses: dolittle/update-version-info-action@v1
266
+ # with:
267
+ # version: ${{ needs.context.outputs.versioninfo-version }}
268
+ # files-to-update: |
269
+ # Generation/Go/template/VersionInfo.go
270
+ # - name: Generate code
271
+ # working-directory: ./Generation/Go
272
+ # run: ./generate.sh ${{ needs.context.outputs.version }}
273
+ # - uses: actions/checkout@v2
274
+ # with:
275
+ # repository: dolittle/Go.Contracts
276
+ # token: ${{ secrets.BUILD_PAT }}
277
+ # path: ./Generation/Go/output
278
+ # - name: Cleanout old released code
279
+ # working-directory: ./Generation/Go/output
280
+ # run: rm -r * && git checkout -- README.md LICENSE
281
+ # - name: Copy new generated code
282
+ # working-directory: ./Generation/Go/
283
+ # run: cp -r generated/* output
284
+ # - name: Commit new generated code and tag as release
285
+ # working-directory: ./Generation/Go/output
286
+ # run: |
287
+ # git config user.name "Contracts Release GitHub Actions"
288
+ # git config user.email "contracts-release@dolittle.com"
289
+ # git add .
290
+ # git commit --allow-empty -m "Generated code for ${{ needs.context.outputs.version }}"
291
+ # git tag "v${{ needs.context.outputs.version }}"
292
+ # git push
293
+ # git push --tags
0 commit comments