Skip to content

Commit 5d5ff4f

Browse files
authored
Update development.yml
Removed Mac/Windows builds
1 parent 6f383e2 commit 5d5ff4f

1 file changed

Lines changed: 4 additions & 19 deletions

File tree

.github/workflows/development.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,20 @@ jobs:
2222
run: make test
2323
- name: Build
2424
run: |
25-
mkdir -p output/{linux,win,mac,freebsd}
25+
mkdir -p output/{linux,freebsd}
2626
VERSION=$(git describe --tags)
27-
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-s -X github.com/mkmccarty/TokenTimeBoostBot/version.GitHash=$(git describe --tags --always --long --dirty)" -o output/mac/boostbot-$VERSION-darwin-amd64
28-
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-s -X github.com/mkmccarty/TokenTimeBoostBot/version.GitHash=$(git describe --tags --always --long --dirty)" -o output/mac/boostbot-$VERSION-darwin-arm64
2927
CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -ldflags "-s -X github.com/mkmccarty/TokenTimeBoostBot/version.GitHash=$(git describe --tags --always --long --dirty)" -o output/freebsd/boostbot-$VERSION-freebsd-amd64
3028
CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build -ldflags "-s -X github.com/mkmccarty/TokenTimeBoostBot/version.GitHash=$(git describe --tags --always --long --dirty)" -o output/linux/boostbot-$VERSION-linux-arm
3129
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -X github.com/mkmccarty/TokenTimeBoostBot/version.GitHash=$(git describe --tags --always --long --dirty)" -o output/linux/boostbot-$VERSION-linux-amd64
32-
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -X github.com/mkmccarty/TokenTimeBoostBot/version.GitHash=$(git describe --tags --always --long --dirty)" -o output/win/boostbot-$VERSION-windows-amd64
3330
- name: Upload linux
3431
if: startsWith(matrix.go-version,'1.22.4')
3532
uses: actions/upload-artifact@main
3633
with:
3734
name: boostbot-linux
3835
path: output/linux
39-
- name: Upload windows 64-bit
36+
- name: Upload freebsd
4037
if: startsWith(matrix.go-version,'1.22.4')
4138
uses: actions/upload-artifact@main
4239
with:
43-
name: boostbot-windows-64bit
44-
path: output/win
45-
- name: Upload darwin 64-bit
46-
if: startsWith(matrix.go-version,'1.22.4')
47-
uses: actions/upload-artifact@main
48-
with:
49-
name: boostbot-darwin-64bit
50-
path: output/mac
51-
- name: Upload freebsd 64-bit
52-
if: startsWith(matrix.go-version,'1.22.4')
53-
uses: actions/upload-artifact@main
54-
with:
55-
name: boostbot-freebsd-64bit
56-
path: output/freebsd
40+
name: boostbot-freebsd
41+
path: output/freebsd

0 commit comments

Comments
 (0)