ci: 更新 GitHub Actions 构建矩阵

- 为 Windows 和 Linux 构建产物添加平台名称后缀
- 保持原有构建配置不变
This commit is contained in:
spark 2025-01-06 17:18:24 +08:00
parent 200a160acf
commit b0922b0878

View File

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