Skip to content

Commit 5752364

Browse files
mapleafgoclaude
andcommitted
style(ci): CI 步骤名与 task 名保持一致
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 343e7f2 commit 5752364

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ jobs:
4343
with:
4444
go-version: ${{ env.GO_VERSION }}
4545
- uses: go-task/setup-task@v2
46-
- run: task test
46+
- name: task test
47+
run: task test
4748

4849
# ── CLI 二进制 ──────────────────────────────────────────
4950

@@ -79,7 +80,7 @@ jobs:
7980
with:
8081
go-version: ${{ env.GO_VERSION }}
8182
- uses: go-task/setup-task@v2
82-
- name: Build
83+
- name: task cli-${{ matrix.goos }}-${{ matrix.goarch }}
8384
run: task cli-${{ matrix.goos }}-${{ matrix.goarch }}
8485
- name: Package
8586
shell: bash
@@ -137,7 +138,7 @@ jobs:
137138
- name: Install cross-compilation toolchain
138139
if: matrix.goarch == 'arm64' && matrix.goos == 'linux'
139140
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
140-
- name: Build
141+
- name: task ffi-${{ matrix.goos }}-${{ matrix.goarch }}
141142
env:
142143
CC: ${{ matrix.goarch == 'arm64' && matrix.goos == 'linux' && 'aarch64-linux-gnu-gcc' || '' }}
143144
run: task ffi-${{ matrix.goos }}-${{ matrix.goarch }}
@@ -180,7 +181,7 @@ jobs:
180181
run: |
181182
go install golang.org/x/mobile/cmd/gomobile@latest
182183
gomobile init
183-
- name: Build
184+
- name: task mobile-android-${{ matrix.goarch }}
184185
run: task mobile-android-${{ matrix.goarch }}
185186
- name: Package
186187
run: |
@@ -210,7 +211,7 @@ jobs:
210211
run: |
211212
go install golang.org/x/mobile/cmd/gomobile@latest
212213
gomobile init
213-
- name: Build
214+
- name: task mobile-ios-arm64
214215
run: task mobile-ios-arm64
215216
- name: Package
216217
run: |

0 commit comments

Comments
 (0)