Skip to content

Commit 0a684b1

Browse files
committed
fix(ci): checkout with fetch depth 0
1 parent b972660 commit 0a684b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ jobs:
3333
matrix:
3434
java: ["11", "21"]
3535
steps:
36-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
36+
- name: Checkout git repository
37+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
38+
with:
39+
fetch-depth: 0 # fetch complete history to find the last git tag
3740
- name: Set up JDK
3841
uses: actions/setup-java@v3
3942
with:

0 commit comments

Comments
 (0)