Skip to content

Commit

Permalink
Merge pull request #26 from Jipok/compact
Browse files Browse the repository at this point in the history
build: remove dbg info, reduce size
  • Loading branch information
117503445 authored Feb 24, 2024
2 parents 97cb6f4 + adcd462 commit d4fa2b4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:

- run: go test ./...

- run: go build -o gowebdav_linux_amd64 .
- run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o gowebdav_windows_amd64.exe .
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o gowebdav_darwin_amd64 .
- run: go build -ldflags "-s -w" -o gowebdav_linux_amd64 .
- run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o gowebdav_windows_amd64.exe .
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o gowebdav_darwin_amd64 .

- run: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o gowebdav_linux_arm64 .
- run: CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -o gowebdav_windows_arm64.exe .
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o gowebdav_darwin_arm64 .
- run: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -o gowebdav_linux_arm64 .
- run: CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -ldflags "-s -w" -o gowebdav_windows_arm64.exe .
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o gowebdav_darwin_arm64 .

- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit d4fa2b4

Please sign in to comment.