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