File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ jobs:
315
315
name : " deploy"
316
316
runs-on : ubuntu-latest
317
317
timeout-minutes : 20
318
- if : github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
318
+ # if: github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
319
319
permissions :
320
320
contents : read
321
321
id-token : write
@@ -371,17 +371,10 @@ jobs:
371
371
- name : Build site
372
372
run : make -B site/out/index.html
373
373
374
- - name : Build Release
375
- uses : goreleaser/goreleaser-action@v3
376
- with :
377
- version : latest
378
- args : release --snapshot --rm-dist --skip-sign
379
-
380
- - uses : actions/upload-artifact@v3
381
- with :
382
- name : coder_windows_amd64.zip
383
- path : ./dist/coder_*_windows_amd64.zip
384
- retention-days : 7
374
+ - name : Build Linux Release
375
+ run : |
376
+ goreleaser build --snapshot --rm-dist coder-slim
377
+ goreleaser build --snapshot --rm-dist coder-linux
385
378
386
379
- uses : actions/upload-artifact@v3
387
380
with :
@@ -400,6 +393,16 @@ jobs:
400
393
- name : Start
401
394
run : gcloud compute ssh coder -- sudo service coder restart
402
395
396
+ - name : Build Windows Release
397
+ run : |
398
+ goreleaser build --snapshot --rm-dist coder-windows
399
+
400
+ - uses : actions/upload-artifact@v3
401
+ with :
402
+ name : coder_windows_amd64.zip
403
+ path : ./dist/coder_*_windows_amd64.zip
404
+ retention-days : 7
405
+
403
406
test-js :
404
407
name : " test/js"
405
408
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments