Skip to content

Commit c1cd3d5

Browse files
committed
Add windows
1 parent 27d6e09 commit c1cd3d5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,16 @@ jobs:
3333
goarch: arm
3434
goopts: GOARM=7
3535
filename: git-backup-linux-armv7
36+
- goos: windows
37+
goarch: amd64
38+
goopts: ""
39+
filename: git-backup-windows-x64.exe
3640
steps:
3741
- uses: actions/checkout@v2
3842
- uses: actions/setup-go@v2
3943
with:
4044
go-version: '^1.17.8'
41-
- run: ${{ matrix.goopts }} go build ./cmd/${{ matrix.filename }}
45+
- run: ${{ matrix.goopts }} go build -o ${{ matrix.filename }} ./cmd/git-backup
4246
env:
4347
GOOS: ${{ matrix.goos }}
4448
GOARCH: ${{ matrix.goarch }}

0 commit comments

Comments
 (0)