Skip to content

Commit a27d6d0

Browse files
committed
Fix release workflow build paths
1 parent 8144f53 commit a27d6d0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,18 @@ jobs:
2828
echo "Building $GOOS/$GOARCH..."
2929
3030
# Server
31+
cd server
3132
GOOS=$GOOS GOARCH=$GOARCH go build \
3233
-ldflags "-X main.Version=$VERSION" \
33-
-o "droidrun-server-$GOOS-$GOARCH" \
34-
./server
34+
-o "../droidrun-server-$GOOS-$GOARCH"
35+
cd ..
3536
3637
# Client
38+
cd client
3739
GOOS=$GOOS GOARCH=$GOARCH go build \
3840
-ldflags "-X main.Version=$VERSION" \
39-
-o "droidrun-client-$GOOS-$GOARCH" \
40-
./client
41+
-o "../droidrun-client-$GOOS-$GOARCH"
42+
cd ..
4143
done
4244
done
4345

0 commit comments

Comments
 (0)