Skip to content

Commit 8bc2a9b

Browse files
committed
fix(ci): 修复 Nightly 构建路径问题,添加 OPENCODE_SOURCE_DIR 环境变量
1 parent 54bd2c6 commit 8bc2a9b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,14 @@ jobs:
219219
git clone --depth 1 --branch ${{ env.UPSTREAM_BRANCH }} https://github.com/${{ env.UPSTREAM_REPO }}.git opencode-zh-CN
220220
221221
- name: Apply Chinese translation
222+
env:
223+
OPENCODE_SOURCE_DIR: ${{ github.workspace }}/opencode-zh-CN
222224
run: |
223225
./opencode-cli apply
224226
225227
- name: Build OpenCode
228+
env:
229+
OPENCODE_SOURCE_DIR: ${{ github.workspace }}/opencode-zh-CN
226230
run: |
227231
./opencode-cli build --platform ${{ matrix.platform }} --deploy=false
228232

0 commit comments

Comments
 (0)