From 7349f4b05d1485c59abf5b93eb9fca571e980a86 Mon Sep 17 00:00:00 2001 From: Paiton Bertschy <78337764+thewiilover@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:48:31 -0600 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 533075be..d0c8bf32 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -4,7 +4,6 @@ # documentation. # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle - name: Build Pojlib on: @@ -20,6 +19,7 @@ jobs: build: runs-on: windows-2022 + steps: - uses: actions/checkout@v3 with: @@ -40,22 +40,19 @@ jobs: local-cache: true link-to-sdk: true - name: Make Gradle wrapper executable and pull LFS - run: git lfs pull | chmod +x ./gradlew - - name: Decode keystore - run: | - bash -c 'base64 --decode <<< "$QCXR_KEYSTORE_BASE64" > qcxr.keystore' - env: - QCXR_KEYSTORE_BASE64: ${{ secrets.QCXR_KEYSTORE_BASE64 }} + run: git lfs pull - name: Build with Gradle uses: gradle/gradle-build-action@v2 with: arguments: build - env: - QCXR_KEYSTORE_ALIAS: ${{ secrets.QCXR_KEYSTORE_ALIAS }} - QCXR_KEYSTORE_PASS: ${{ secrets.QCXR_KEYSTORE_PASS }} - - name: Upload APK + - name: Upload debug + uses: actions/upload-artifact@v3 + with: + name: app-release + path: wrapper/launcher/build/outputs/apk/release/* + - name: Upload release uses: actions/upload-artifact@v3 with: name: app-debug - path: build/outputs/aar/* + path: wrapper/launcher/build/outputs/apk/debug/*