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
d2e490cfcf
commit
7c0d6ec228
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -41,7 +41,12 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
GOOS=${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'windows-latest' && 'windows'}} GOARCH=${{ matrix.arch }} go build -o build/${{ matrix.os }}-${{ matrix.arch }}/server-status-server main.go
|
||||
CGO_ENABLED=0
|
||||
GOOS=${{ matrix.os }}
|
||||
GOARCH=${{ matrix.arch }}
|
||||
OUTPUT_NAME=server-status-server
|
||||
if [ "${{ matrix.os }}" == "windows-latest" ]; then OUTPUT_NAME="${OUTPUT_NAME}.exe"; fi
|
||||
go build -o build/${{ env.GOOS }}-${{ env.GOARCH }}/${OUTPUT_NAME} main.go
|
||||
|
||||
- name: Upload binaries
|
||||
uses: actions/upload-artifact@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user