From f6966f2662262ec9f211478f3c3c8df64b57880b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Shinosaki=20/=20=E7=AF=A0=E5=B4=8E?= <88357168+shinosaki@users.noreply.github.com> Date: Thu, 20 Feb 2025 11:49:22 +0900 Subject: [PATCH] =?UTF-8?q?[update]=20go=20build=E3=81=AB-trimpath?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4b13047..b567ed9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,7 +31,7 @@ jobs: export GOARCH=${{ matrix.arch }} export GOOS=${{ matrix.os }} export CGO_ENABLED=0 - go build -ldflags="-s -w" -o ${{ env.OUTPUT_FILE }} + go build -ldflags="-s -w" -trimpath -o ${{ env.OUTPUT_FILE }} - name: Upload Artifact uses: actions/upload-artifact@v4