From 4a34bd8cd5ed31c8667dc9f3284e4017a12b123f Mon Sep 17 00:00:00 2001 From: snowykami Date: Thu, 3 Oct 2024 19:52:30 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E7=BD=91=E9=80=9F?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc644b4..ec937e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,11 +43,11 @@ jobs: 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 + go build -o build/${{ GOOS }}-${{ matrix.arch }}/server-status-server main.go - name: Upload binaries uses: actions/upload-artifact@v3 with: - name: server-status-server-${{ matrix.os }}-${{ matrix.arch }} - path: build/${{ matrix.os }}-${{ matrix.arch }}/server-status-server + name: server-status-server-${{ GOOS }}-${{ matrix.arch }} + path: build/${{ GOOS }}-${{ matrix.arch }}/server-status-server if-no-files-found: warn \ No newline at end of file