Skip to content

Commit 9686b02

Browse files
committed
Merge branch 'dev': 修复资产校验误报
2 parents 02052b5 + dc018e5 commit 9686b02

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ jobs:
265265
if: startsWith(github.ref, 'refs/tags/')
266266
env:
267267
GH_TOKEN: ${{ github.token }}
268+
# release job 不做 checkout(仅下载 artifact),gh 无法从 git 仓库
269+
# 推断仓库而报 "not a git repository",故必须显式指定 GH_REPO
270+
GH_REPO: ${{ github.repository }}
268271
TAG: ${{ github.ref_name }}
269272
run: |
270273
set -eo pipefail

0 commit comments

Comments
 (0)