From 7420c5a02c48c014fcd24ee48b9078f99998791e Mon Sep 17 00:00:00 2001 From: The Judge <53906078+thejudge156@users.noreply.github.com> Date: Tue, 20 Aug 2024 06:14:47 -0700 Subject: [PATCH] Fix actions (#54) --- .github/workflows/gradle.yml | 19 ++++++++++++++++--- wrapper | 2 +- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index beac8204..aacba099 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -5,7 +5,7 @@ # 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: Java CI with Gradle +name: Build Pojlib on: workflow_dispatch: @@ -18,7 +18,6 @@ permissions: jobs: build: - runs-on: windows-2022 steps: @@ -34,9 +33,23 @@ jobs: with: ndk-version: r21d local-cache: true - - name: Make Gradle wrapper executable + link-to-sdk: true + - uses: nttld/setup-ndk@v1 + with: + ndk-version: r26b + 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 }} - 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 }} diff --git a/wrapper b/wrapper index 1e4cd0aa..6b9b7a66 160000 --- a/wrapper +++ b/wrapper @@ -1 +1 @@ -Subproject commit 1e4cd0aa46582cfe30a84db02e220bd934687186 +Subproject commit 6b9b7a66524e644d2b78d0fa621e6ffb61674302