소스 검색

Add -s -w flags to go build

ayn2op 2 년 전
부모
커밋
260fe3718a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .github/workflows/ci.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -16,7 +16,7 @@ jobs:
           go-version: stable
 
       - name: Build
-        run: go build .
+        run: go build -ldflags "-s -w" .
 
       - uses: actions/upload-artifact@v4
         if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}