ci: remove Windows builds - who needs that anyway
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user