Skip to content

Commit

Permalink
feat: 添加 git workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Jul 4, 2024
1 parent fcb9896 commit 47bd56e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ function get_md5() {
# First to build it
workspace=${GITHUB_WORKSPACE}
build_dir=''

git config --global --add safe.directory /github/workspace
git config --global --add safe.directory ${workspace}

if [[ -f ${workspace}/build.sh ]];then
build_dir=${workspace}
fi
Expand Down

0 comments on commit 47bd56e

Please sign in to comment.