We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1451d9c commit 853af3dCopy full SHA for 853af3d
1 file changed
.github/workflows/pr-build.yml
@@ -43,7 +43,11 @@ jobs:
43
shell: bash
44
run: |
45
VERSION=pr-${{ github.event.number }}-${{ github.sha }}
46
- go build -tags nogui -ldflags "-X main.version=${VERSION}" -o mcpproxy ./cmd/mcpproxy
+ if [[ "${{ runner.os }}" == "Windows" ]]; then
47
+ go build -tags nogui -ldflags "-X main.version=${VERSION}" -o mcpproxy.exe ./cmd/mcpproxy
48
+ else
49
+ go build -tags nogui -ldflags "-X main.version=${VERSION}" -o mcpproxy ./cmd/mcpproxy
50
+ fi
51
52
- name: Test version output
53
0 commit comments