workflow: fix fetch-depth

This commit is contained in:
Cuong M. Tran 2024-05-10 10:39:22 +07:00
parent 7a175939e2
commit 48fb4a2e60
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
3 changed files with 6 additions and 0 deletions

View file

@ -63,6 +63,8 @@ jobs:
steps:
- name: Clone Repository (${{ needs.prepare-build.outputs.TAG_PREFIX }}${{ needs.prepare-build.outputs.COMMIT_COUNT }})
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up gradle
uses: gradle/actions/setup-gradle@v3

View file

@ -70,6 +70,8 @@ jobs:
steps:
- name: Clone Repository (${{ needs.prepare-build.outputs.TAG_PREFIX }}${{ needs.prepare-build.outputs.COMMIT_COUNT }})
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up gradle
uses: gradle/actions/setup-gradle@v3

View file

@ -26,6 +26,8 @@ jobs:
- name: Clone Repository (${{ steps.get_tag.outputs.VERSION_TAG }})
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3