修复actions编译的Windows平台二进制文件只能在linux下运行的错误

This commit is contained in:
远野千束 2024-10-05 06:26:56 +08:00
parent d7cc259191
commit 5a8a5478df

View File

@ -47,7 +47,6 @@ jobs:
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 0
run: |
OUTPUT_NAME=server-status-server
if [ "${{ matrix.goos }}" == "windows" ]; then OUTPUT_NAME="${OUTPUT_NAME}.exe"; fi