mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-07 15:45:23 +00:00
✨ 修复actions编译的Windows平台二进制文件只能在linux下运行的错误
This commit is contained in:
parent
d7cc259191
commit
5a8a5478df
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -47,7 +47,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GOOS: ${{ matrix.goos }}
|
GOOS: ${{ matrix.goos }}
|
||||||
GOARCH: ${{ matrix.goarch }}
|
GOARCH: ${{ matrix.goarch }}
|
||||||
CGO_ENABLED: 0
|
|
||||||
run: |
|
run: |
|
||||||
OUTPUT_NAME=server-status-server
|
OUTPUT_NAME=server-status-server
|
||||||
if [ "${{ matrix.goos }}" == "windows" ]; then OUTPUT_NAME="${OUTPUT_NAME}.exe"; fi
|
if [ "${{ matrix.goos }}" == "windows" ]; then OUTPUT_NAME="${OUTPUT_NAME}.exe"; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user