Browse Source

fix: update GitHub Actions config for Linux release

JustSong 2 năm trước cách đây
mục cha
commit
1aaa8b64b5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .github/workflows/linux-release.yml

+ 1 - 1
.github/workflows/linux-release.yml

@@ -30,7 +30,7 @@ jobs:
       - name: Build Backend
         run: |
           go mod download
-          go build -ldflags "-s -w -X 'message-pusher/common.Version=$(git describe --tags)'" -o message-pusher
+          go build -ldflags "-s -w -X 'message-pusher/common.Version=$(git describe --tags)' -extldflags '-static'" -o message-pusher
       - name: Release
         uses: softprops/action-gh-release@v1
         if: startsWith(github.ref, 'refs/tags/')