Skip to content

Commit b6d086a

Browse files
committed
ci: Remove Windows binary build from CI
1 parent a809445 commit b6d086a

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -10,46 +10,6 @@ on:
1010
branches: [ main, master ]
1111

1212
jobs:
13-
build-windows:
14-
runs-on: windows-latest
15-
steps:
16-
- uses: actions/checkout@main
17-
18-
- uses: actions/setup-go@main
19-
with:
20-
go-version: stable
21-
22-
- name: Run Windows winHealth build test
23-
run: |
24-
go test ./winHealth
25-
env:
26-
CGO_ENABLED: 0
27-
shell: bash
28-
29-
- name: Get version from git
30-
id: version
31-
run: |
32-
if [ "${{ github.ref }}" == "refs/heads/main" ] || [ "${{ github.ref }}" == "refs/heads/master" ]; then
33-
VERSION="dev"
34-
else
35-
VERSION=$(git describe --tags --always --dirty 2>/dev/null || echo "dev")
36-
fi
37-
echo "version=$VERSION" >> $GITHUB_OUTPUT
38-
shell: bash
39-
40-
- name: Build Windows binary
41-
run: |
42-
VERSION="${{ steps.version.outputs.version }}"
43-
go build -o monokit.exe -ldflags="-X github.com/monobilisim/monokit/common.MonokitVersion=${VERSION}" -tags="" .
44-
env:
45-
CGO_ENABLED: 0
46-
47-
- name: Upload Windows binary
48-
uses: actions/upload-artifact@v4
49-
with:
50-
name: monokit-windows-amd64
51-
path: monokit.exe
52-
5313
test:
5414
runs-on: ubuntu-latest
5515
steps:

0 commit comments

Comments
 (0)