From c186f8ed6037159ab169649e7ec094f0603e335e Mon Sep 17 00:00:00 2001 From: Prajeen Govardhanam Date: Sat, 22 Apr 2023 22:36:44 +0530 Subject: [PATCH] add: bin size reduction and new platform --- .github/workflows/go-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 138e22e..c39e12b 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -14,8 +14,8 @@ jobs: build: strategy: matrix: - arch: ["amd64", "arm64", "386"] - os: ["windows", "linux", "darwin"] + arch: ["amd64", "arm64"] + os: ["windows", "linux", "darwin", "freebsd"] exclude: - os: "darwin" arch: "386" @@ -35,7 +35,7 @@ jobs: env: GOOS: ${{ matrix.os }} GOARCH: ${{ matrix.arch }} - LDFLAGS: "-X 'main.version=${{ github.ref_name }}'" + LDFLAGS: "-w -s -X 'main.version=${{ github.ref_name }}'" - name: "Zip exe files" if: ${{ matrix.os == 'windows' }}