mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-04 14:15:22 +00:00
🐛 添加构建工作流
This commit is contained in:
parent
e915b5cb85
commit
e7ae5e1fcf
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' || 'darwin' }}
|
||||
GOARCH=amd64
|
||||
GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}}
|
||||
GOARCH=${{ matrix.arch }}
|
||||
go build -o build/${{ matrix.os }}/server-status-server
|
||||
|
||||
- name: Upload binaries
|
||||
|
Loading…
x
Reference in New Issue
Block a user