From 63f9bddf179e4d34c08f30501693a7cfb8392c94 Mon Sep 17 00:00:00 2001 From: Sanlorng Date: Sun, 27 Oct 2024 15:52:06 +0800 Subject: [PATCH] Update gradle_snapshot_build.yml --- .github/workflows/gradle_snapshot_build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/gradle_snapshot_build.yml b/.github/workflows/gradle_snapshot_build.yml index c978b7e8..0bc80013 100644 --- a/.github/workflows/gradle_snapshot_build.yml +++ b/.github/workflows/gradle_snapshot_build.yml @@ -22,6 +22,7 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-tags: true ref: update_build_script - name: Set up JDK 17 uses: actions/setup-java@v4 @@ -36,9 +37,6 @@ jobs: - name: PublishToMavenLocal run: | - git --version - git describe --abbrev=0 --tags - git describe --tags ./gradlew :gallery:assembleRelease # ./gradlew publishDesktopPublicationToMavenLocal # ./gradlew publishAndroidReleasePublicationToMavenLocal