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
26c2a30989
commit
8c1d4296ae
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}}
|
GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}}
|
||||||
GOARCH=${{ matrix.arch }}
|
GOARCH=${{ matrix.arch }}
|
||||||
go build -o build/${{ matrix.os }}-${{ matrix.arch }}/server-status-server cmd/main.go
|
go build -o build/${{ matrix.os }}-${{ matrix.arch }}/server-status-server main.go
|
||||||
|
|
||||||
- name: Upload binaries
|
- name: Upload binaries
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user