diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab4170d..352da06 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -145,18 +145,18 @@ jobs: - name: Build verysimple run: | mkdir -p build_assets - go build -tags $(tags) -v -o build_assets/verysimple -trimpath -ldflags "-s -w -buildid=" ./main + go build -tags $(tags) -v -o build_assets/verysimple -trimpath -ldflags "-s -w -buildid=" # 在 Windows 中加入无窗口运行的 Wverysimple.exe - name: Build background verysimple on Windows if: matrix.goos == 'windows' run: | - go build -tags $(tags) -v -o build_assets/Wverysimple.exe -trimpath -ldflags "-s -w -H windowsgui -buildid=" ./main + go build -tags $(tags) -v -o build_assets/Wverysimple.exe -trimpath -ldflags "-s -w -H windowsgui -buildid=" - name: Build Mips softfloat verysimple if: matrix.goarch == 'mips' || matrix.goarch == 'mipsle' run: | - GOMIPS=softfloat go build -tags $(tags) -v -o build_assets/verysimple_softfloat -trimpath -ldflags "-s -w -buildid=" ./main + GOMIPS=softfloat go build -tags $(tags) -v -o build_assets/verysimple_softfloat -trimpath -ldflags "-s -w -buildid=" - name: Rename Windows verysimple if: matrix.goos == 'windows'