Skip to content

Commit a85491c

Browse files
author
Sisyphus Agent
committed
fix(ci): 修复 install-test matrix 中 env 上下文引用错误
- matrix.include 中不能使用 ${{ env.APP_NAME }} - 直接使用硬编码的 artifact 名称 oho-{os}-{arch}
1 parent e01b6ec commit a85491c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/go.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,23 +239,23 @@ jobs:
239239
- goos: linux
240240
goarch: amd64
241241
runs-on: ubuntu-latest
242-
artifact: ${{ env.APP_NAME }}-linux-amd64
242+
artifact: oho-linux-amd64
243243
- goos: linux
244244
goarch: arm64
245245
runs-on: ubuntu-latest
246-
artifact: ${{ env.APP_NAME }}-linux-arm64
246+
artifact: oho-linux-arm64
247247
- goos: darwin
248248
goarch: amd64
249249
runs-on: macos-latest
250-
artifact: ${{ env.APP_NAME }}-darwin-amd64
250+
artifact: oho-darwin-amd64
251251
- goos: darwin
252252
goarch: arm64
253253
runs-on: macos-latest
254-
artifact: ${{ env.APP_NAME }}-darwin-arm64
254+
artifact: oho-darwin-arm64
255255
- goos: windows
256256
goarch: amd64
257257
runs-on: windows-latest
258-
artifact: ${{ env.APP_NAME }}-windows-amd64
258+
artifact: oho-windows-amd64
259259
steps:
260260
- name: Download artifact
261261
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)