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 ✅