From 0499a4caeac5193695a6287825b9d83f1f5d99a1 Mon Sep 17 00:00:00 2001 From: Laura Date: Sun, 8 Sep 2024 00:38:18 +0200 Subject: [PATCH] fix --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfadae3..ff11e67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,12 +28,11 @@ jobs: mkdir -p build echo "package main" > version.go echo "const Version = \"${{ github.ref_name }}\"" >> version.go - go install mvdan.cc/garble@latest - name: Build for ${{ matrix.goos }}_${{ matrix.goarch }} run: | if [ "${{ matrix.goos }}" = "windows" ]; then EXT=".exe"; else EXT=""; fi - GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} garble -tiny build -o build/ffwebp_${{ github.ref_name }}_${{ matrix.goos }}_${{ matrix.goarch }}$EXT -ldflags -w + GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w" -trimpath -o build/ffwebp_${{ github.ref_name }}_${{ matrix.goos }}_${{ matrix.goarch }}$EXT - name: Upload build artifact uses: actions/upload-artifact@v3