From b92a54e204542e7ad89b4c9333bbba468abb86c3 Mon Sep 17 00:00:00 2001 From: Windmill_City <1449182174@qq.com> Date: Sat, 13 Jan 2024 16:04:06 +0800 Subject: [PATCH] fix CI --- .github/workflows/CI.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7bdbf32..084ebe8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,11 +19,12 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: true # Fetch all to make git describe work correctly fetch-depth: 0 + ref: ${{ github.ref_name }} - name: Setup Java uses: actions/setup-java@v1