github: fetch-depth will make git rev-parse not work

This commit is contained in:
YiFang Xiao 2023-05-14 13:56:23 +08:00
parent d07fcaf24f
commit e3e0c33614
3 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 200
fetch-depth: 0
submodules: true
- name: changelog

View file

@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 200
fetch-depth: 0
submodules: true

View file

@ -52,7 +52,7 @@ jobs:
# 拉取代码
- uses: actions/checkout@v3
with:
fetch-depth: 200
fetch-depth: 0
submodules: true
- name: changelog