We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45f1202 commit 5215a88Copy full SHA for 5215a88
.github/workflows/publish-binaries.yml
@@ -67,6 +67,7 @@ jobs:
67
run: |
68
set -euo pipefail
69
70
+ ROOT_DIR="$PWD"
71
mkdir -p dist
72
VERSION="${{ steps.prepare.outputs.version_no_v }}"
73
@@ -93,9 +94,12 @@ jobs:
93
94
archive_ext=".zip"
95
fi
96
- CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" \
97
- go build -trimpath -ldflags="-s -w" \
98
- -o "$out_dir/$bin_name" ./apps/server/cmd/woottyd
+ (
+ cd apps/server
99
+ CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" \
100
+ go build -trimpath -ldflags="-s -w" \
101
+ -o "$ROOT_DIR/$out_dir/$bin_name" ./cmd/woottyd
102
+ )
103
104
cp README.md LICENSE "$out_dir/"
105
0 commit comments