Skip to content

Commit 3b32152

Browse files
authored
[CI] Fetch all history in all jobs to calculate version correctly
1 parent a0135a4 commit 3b32152

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ jobs:
560560
uses: actions/checkout@v4
561561
with:
562562
submodules: recursive
563-
fetch-tags: true
563+
fetch-depth: 0
564564

565565
- name: Restore cached ~/.gradle/caches
566566
uses: actions/cache/restore@v4
@@ -645,7 +645,7 @@ jobs:
645645
uses: actions/checkout@v4
646646
with:
647647
submodules: recursive
648-
fetch-tags: true
648+
fetch-depth: 0
649649

650650
- name: Restore cached ~/.gradle/caches
651651
uses: actions/cache/restore@v4
@@ -857,7 +857,7 @@ jobs:
857857
uses: actions/checkout@v4
858858
with:
859859
submodules: recursive
860-
fetch-tags: true
860+
fetch-depth: 0
861861

862862
- name: Restore cached ~/.gradle/caches
863863
uses: actions/cache/restore@v4

0 commit comments

Comments
 (0)