Skip to content

Commit 9139955

Browse files
authored
修复commitid值的问题 (#2973)
* 增加可用于代码commitsha的确认的flag文件 * fix commitid value
1 parent c529e91 commit 9139955

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/repo_sync_dispatch.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
REPO_NAME=${{ github.event.client_payload.repository }}
3939
REPO_NAME=${REPO_NAME##*/}
4040
file_name=$REPO_NAME.tar
41+
cd ${{ github.event.client_payload.path }}
42+
current_commit=$(git rev-parse HEAD)
43+
cd -
4144
tar -cf $REPO_NAME.tar ${{ github.event.client_payload.path }}
4245
python -m pip install bce-python-sdk==0.8.74
4346
python tools/bos_upload.py ${file_name} paddle-qa/CodeSync/${{ github.event.client_payload.ref }}/

0 commit comments

Comments
 (0)