增加GitHub Actions中的fetch-depth为10,以提高代码检出深度

This commit is contained in:
hi2hi 2024-12-10 06:24:24 +00:00
parent 027215720e
commit 7bbd8455e9

View File

@ -18,7 +18,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 2
fetch-depth: 10
- name: Setup Node.js
uses: actions/setup-node@v3