mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: fix ERRPIPE in build scripts, fix deploy (#2492)
This commit is contained in:
@@ -372,7 +372,23 @@ jobs:
|
||||
run: make -B site/out/index.html
|
||||
|
||||
- name: Build Release
|
||||
run: make build
|
||||
run: |
|
||||
set -euo pipefail
|
||||
go mod download
|
||||
|
||||
mkdir -p ./dist
|
||||
# build slim binaries
|
||||
./scripts/build_go_slim.sh \
|
||||
--output ./dist/ \
|
||||
linux:amd64,armv7,arm64 \
|
||||
windows:amd64,arm64 \
|
||||
darwin:amd64,arm64
|
||||
|
||||
# build linux amd64 packages
|
||||
./scripts/build_go_matrix.sh \
|
||||
--output ./dist/ \
|
||||
--package-linux \
|
||||
linux:amd64
|
||||
|
||||
- name: Install Release
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user