mirror of
https://github.com/snowykami/server-status-server.git
synced 2025-06-06 15:15: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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}}
|
export GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}}
|
||||||
GOARCH=${{ matrix.arch }}
|
export GOARCH=${{ matrix.arch }}
|
||||||
go build -o build/${{ matrix.os }}-${{ matrix.arch }}/server-status-server main.go
|
go build -o build/${{ matrix.os }}-${{ matrix.arch }}/server-status-server main.go
|
||||||
|
|
||||||
- name: Upload binaries
|
- name: Upload binaries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user