From b0922b0878de55e4a2e2a619046380aa57869be6 Mon Sep 17 00:00:00 2001 From: spark Date: Mon, 6 Jan 2025 17:18:24 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=20GitHub=20Actions=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E7=9F=A9=E9=98=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 Windows 和 Linux 构建产物添加平台名称后缀 - 保持原有构建配置不变 --- .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 611bed6..0cfb419 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,10 +17,10 @@ jobs: fail-fast: false matrix: build: - - name: 'go-stock.exe' + - name: 'go-stock-${{ matrix.build.platform }}.exe' platform: 'windows/amd64' os: 'windows-latest' - - name: 'go-stock' + - name: 'go-stock-${{ matrix.build.platform }}' platform: 'linux/amd64' os: 'ubuntu-latest'