Skip to content

Commit 0b9fe96

Browse files
committed
Fetch tags when generating docs in GitHub workflows
1 parent 8227b45 commit 0b9fe96

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ jobs:
7575
steps:
7676
- name: "📥 Checkout repository"
7777
uses: actions/checkout@v4
78+
with:
79+
fetch-tags: true
7880
- name: "☕️ Setup JDK"
7981
uses: actions/setup-java@v4
8082
with:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ jobs:
255255
with:
256256
token: ${{ secrets.GITHUB_TOKEN }}
257257
ref: v${{ needs.publish.outputs.release_version }}
258+
fetch-tags: true
258259
- name: "☕️ Setup JDK"
259260
uses: actions/setup-java@v4
260261
with:

0 commit comments

Comments
 (0)