ci: remove Windows builds - who needs that anyway

This commit is contained in:
2025-12-11 19:44:19 +01:00
parent c2a0a89131
commit 4f0a7ab2ec

View File

@@ -65,7 +65,7 @@ jobs:
image: golang:1.24-bookworm image: golang:1.24-bookworm
strategy: strategy:
matrix: matrix:
goos: [linux, darwin, windows] goos: [linux, darwin]
goarch: [amd64, arm64] goarch: [amd64, arm64]
steps: steps:
- name: Install git - name: Install git
@@ -83,9 +83,6 @@ jobs:
CGO_ENABLED: 0 CGO_ENABLED: 0
run: | run: |
BINARY_NAME=dbbackup BINARY_NAME=dbbackup
if [ "${{ matrix.goos }}" = "windows" ]; then
BINARY_NAME="${BINARY_NAME}.exe"
fi
go build -ldflags="-s -w" -o dist/${BINARY_NAME}-${{ matrix.goos }}-${{ matrix.goarch }} . go build -ldflags="-s -w" -o dist/${BINARY_NAME}-${{ matrix.goos }}-${{ matrix.goarch }} .
sbom: sbom: