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
ad2670c9c9
commit
4a34bd8cd5
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -43,11 +43,11 @@ 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 main.go
|
go build -o build/${{ GOOS }}-${{ matrix.arch }}/server-status-server main.go
|
||||||
|
|
||||||
- name: Upload binaries
|
- name: Upload binaries
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: server-status-server-${{ matrix.os }}-${{ matrix.arch }}
|
name: server-status-server-${{ GOOS }}-${{ matrix.arch }}
|
||||||
path: build/${{ matrix.os }}-${{ matrix.arch }}/server-status-server
|
path: build/${{ GOOS }}-${{ matrix.arch }}/server-status-server
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
Loading…
x
Reference in New Issue
Block a user