From f9985d23ee573fdfd7a2fc4fe0812c59fb2f9fbc Mon Sep 17 00:00:00 2001 From: Shreyas Patil Date: Sun, 22 Jun 2025 13:09:27 +0530 Subject: [PATCH] Update release workflow --- .github/workflows/release.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c94479d..1e7a4ed5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,29 +10,22 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - name: Checkout branch + uses: actions/checkout@v3.5.3 - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: 17 + distribution: temurin + cache: gradle - - name: Cache Gradle and wrapper - uses: actions/cache@v2 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} - restore-keys: | - ${{ runner.os }}-gradle- - - name: Grant Permission to Execute run: chmod +x gradlew working-directory: noty-android - - name: Build APKs ⚙️🛠 - run: bash ./gradlew assembleDebug + - name: Build APKs + run: ./gradlew assembleDebug --stacktrace working-directory: noty-android - name: Create Release ✅