Skip to content

Commit e8dce26

Browse files
authored
chore: fetch tags on CI checkout (#728)
1 parent af6613f commit e8dce26

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
steps:
1010
- name: Checkout Application Repository
1111
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
1214

1315
- name: Setup Java
1416
uses: actions/setup-java@v4
@@ -27,6 +29,8 @@ jobs:
2729
- build
2830
steps:
2931
- uses: actions/checkout@v4
32+
with:
33+
fetch-depth: 0
3034
- name: Set up JDK
3135
uses: actions/setup-java@v4
3236
with:

.github/workflows/generate-artifacts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
1618
- uses: gradle/actions/wrapper-validation@v4
1719
- uses: actions/setup-java@v2
1820
with:

.github/workflows/publish-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
steps:
1313
- name: Checkout Application Repository
1414
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
1517

1618
- name: Set up JDK 21
1719
uses: actions/setup-java@v4

.github/workflows/publish-snapshot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout Application Repository
1616
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
1719

1820
- name: Set up JDK 21
1921
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)