From 4344bc40b60d15d98f5ea9b7d2f85e674a582672 Mon Sep 17 00:00:00 2001 From: forestL <45709305+ForestL18@users.noreply.github.com> Date: Sun, 26 May 2024 02:02:21 +0800 Subject: [PATCH] Update build-pre-release.yaml --- .github/workflows/build-pre-release.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-pre-release.yaml b/.github/workflows/build-pre-release.yaml index 1f1ff374..852cf051 100644 --- a/.github/workflows/build-pre-release.yaml +++ b/.github/workflows/build-pre-release.yaml @@ -50,11 +50,13 @@ jobs: echo "cat signing.properties" cat signing.properties - - name: Pre-release Build + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + if: success() + + - name: Assemble the project + run: ./gradlew app:assembleMeta-AlphaRelease --no-daemon if: success() - uses: gradle/gradle-build-action@v3 - with: - arguments: --no-daemon app:assembleMeta-AlphaRelease # Delete old Prerelease-alpha - uses: dev-drprasad/delete-tag-and-release@v1.1