build(ci): 更新 GitHub Actions 构建配置

- 为 Windows平台构建产物命名为 go-stock-windows-amd64.exe
-为 Linux 平台构建产物命名为 go-stock-linux-amd64- 通过明确指定构建输出名称,提高构建结果的可识别性和一致性
This commit is contained in:
spark 2025-01-06 17:33:54 +08:00
parent b0922b0878
commit af1bc685a7

View File

@ -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'