From 797db5a18af62100281c7b40400f89b493a17bce Mon Sep 17 00:00:00 2001 From: Hendrix-Shen Date: Fri, 3 Feb 2023 14:09:54 +0800 Subject: [PATCH] Fix version calc --- .github/workflows/CI.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 48ceaa9..607a9be 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,6 +19,8 @@ jobs: steps: - name: Checkout the sources uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v3 @@ -149,6 +151,8 @@ jobs: steps: - name: Checkout the sources uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v3