This commit is contained in:
@@ -9,10 +9,11 @@ jobs:
|
||||
runs-on: windowsx64 # 与Runner标签一致(或写x64)
|
||||
steps:
|
||||
# 步骤1:拉取仓库代码(完整历史)
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Checkout Code (Manual)
|
||||
run: |
|
||||
git clone https://git.we965.cn/learning/VectorDBDemo.git .
|
||||
git fetch --depth=0
|
||||
git checkout ${{ github.ref_name }}
|
||||
|
||||
# 步骤2:配置 Sonar Scanner 路径(必做,替换为你的实际路径)
|
||||
- name: Add Sonar Scanner to PATH
|
||||
|
||||
Reference in New Issue
Block a user