mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-06 07:05:22 +00:00
✨ 修复编译错误的问题
This commit is contained in:
parent
d6d1221c2f
commit
3276ef112d
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -41,8 +41,8 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}}
|
||||
GOARCH=${{ matrix.arch }}
|
||||
export GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}}
|
||||
export GOARCH=${{ matrix.arch }}
|
||||
go build -o build/${{ matrix.os }}-${{ matrix.arch }}/server-status-server main.go
|
||||
|
||||
- name: Upload binaries
|
||||
|
Loading…
x
Reference in New Issue
Block a user