From af1bc685a7d759e6ace9824ba30f3efbbb5990ba Mon Sep 17 00:00:00 2001 From: spark Date: Mon, 6 Jan 2025 17:33:54 +0800 Subject: [PATCH] =?UTF-8?q?build(ci):=20=E6=9B=B4=E6=96=B0=20GitHub=20Acti?= =?UTF-8?q?ons=20=E6=9E=84=E5=BB=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 Windows平台构建产物命名为 go-stock-windows-amd64.exe -为 Linux 平台构建产物命名为 go-stock-linux-amd64- 通过明确指定构建输出名称,提高构建结果的可识别性和一致性 --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cfb419..c3ef9e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,10 +17,10 @@ jobs: fail-fast: false matrix: build: - - name: 'go-stock-${{ matrix.build.platform }}.exe' + - name: 'go-stock-windows-amd64.exe' platform: 'windows/amd64' os: 'windows-latest' - - name: 'go-stock-${{ matrix.build.platform }}' + - name: 'go-stock-linux-amd64' platform: 'linux/amd64' os: 'ubuntu-latest'