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
e915b5cb85
commit
e7ae5e1fcf
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -41,8 +41,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows' || 'darwin' }}
|
GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}}
|
||||||
GOARCH=amd64
|
GOARCH=${{ matrix.arch }}
|
||||||
go build -o build/${{ matrix.os }}/server-status-server
|
go build -o build/${{ matrix.os }}/server-status-server
|
||||||
|
|
||||||
- name: Upload binaries
|
- name: Upload binaries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user