From ab77a0c46afc34f6b588b968e2802ea8c979cb1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=B4=BA?= Date: Sun, 19 Oct 2025 19:04:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9app=E5=90=8D=E5=AD=97?= =?UTF-8?q?=E4=B8=BArunlike?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b10056f..80db771 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: GOARCH: ${{ matrix.goarch }} run: | mkdir -p dist/${GOOS}-${GOARCH} - OUT="dist/${GOOS}-${GOARCH}/app" + OUT="dist/${GOOS}-${GOARCH}/runlike" if [ "${GOOS}" = "windows" ]; then OUT="${OUT}.exe"; fi # -trimpath/-ldflags 让产物更小更可复现;按你的入口调整 ./ go build -trimpath -ldflags="-s -w" -o "${OUT}" ./ @@ -54,6 +54,6 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: app-${{ matrix.goos }}-${{ matrix.goarch }} + name: runlike-${{ matrix.goos }}-${{ matrix.goarch }} path: dist/${{ matrix.goos }}-${{ matrix.goarch }}/* if-no-files-found: error