索引和工作流修正2
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
||||
repo_url="${CI_SERVER_URL}/${CI_REPOSITORY}.git"
|
||||
|
||||
rm -rf "$workspace/.git"
|
||||
git init "$workspace"
|
||||
git init -b ci "$workspace"
|
||||
git -C "$workspace" remote add origin "$repo_url"
|
||||
|
||||
if [[ -n "${CI_TOKEN}" ]]; then
|
||||
@@ -50,7 +50,6 @@ jobs:
|
||||
fi
|
||||
|
||||
git -C "$workspace" checkout --detach FETCH_HEAD
|
||||
git -C "$workspace" submodule update --init --recursive --depth=1
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
|
||||
Reference in New Issue
Block a user