From e13edcbb1664141e8e958b95d37623bcae1d04ed Mon Sep 17 00:00:00 2001 From: Natsu Date: Tue, 18 Jun 2024 19:29:03 +0700 Subject: [PATCH] chore: Update build configuration --- .github/workflows/build.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 872cbfc..1e82586 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,15 +26,6 @@ jobs: restore-keys: | gradle-${{ runner.os }}- - - name: Cache CMake - uses: actions/cache@v3 - with: - path: | - /usr/local/lib/android/sdk/cmake/3.22.1 - key: cmake-${{ runner.os }}-3.22.1 - restore-keys: | - cmake-${{ runner.os }}- - - name: Install Dependencies run: | sdkmanager --install "cmake;3.22.1" @@ -58,8 +49,8 @@ jobs: - name: Build with Gradle run: ./gradlew build - - uses: ilharp/sign-android-release@v1 - name: Sign App APK + - name: Sign APK + uses: ilharp/sign-android-release@v1 id: sign_app with: releaseDir: app/build/outputs/apk/debug @@ -76,7 +67,8 @@ jobs: mv ${{steps.sign_app.outputs.signedFile}} app/build/outputs/apk/debug/Gakumas-Localify-EN_$branch.$hash.apk echo "SIGNED_APK=app/build/outputs/apk/debug/Gakumas-Localify-EN_$branch.$hash.apk" >> $GITHUB_ENV - - uses: actions/upload-artifact@v4 + - name: Upload Artifact + uses: actions/upload-artifact@v4 with: name: Gakumas-Localify-EN path: ${{ env.SIGNED_APK }}