From 2ae3e3dd86dff1727d752af12ee885b69657622b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pereda?= Date: Fri, 5 Aug 2022 11:02:15 +0200 Subject: [PATCH] Test preinstalled Android SDK and NDK (#18) --- .github/workflows/android.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 538794d..9089f6b 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -19,21 +19,17 @@ jobs: run: | sudo apt-get update sudo apt install libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libgl-dev libgtk-3-dev libpango1.0-dev libxtst-dev - - - name: Setup Android Keystore - id: android_keystore_file - uses: timheuer/base64-to-file@v1 - with: - fileName: 'my.keystore' - encodedString: ${{ secrets.GLUON_ANDROID_KEYSTORE_BASE64 }} - + - name: Gluon License uses: gluonhq/gluon-build-license@v1 with: gluon-license: ${{ secrets.GLUON_LICENSE }} - name: Gluon Build - run: mvn -Pandroid gluonfx:build gluonfx:package + run: | + export ANDROID_SDK=$ANDROID_HOME + export ANDROID_NDK=$ANDROID_HOME/ndk/23.2.8568313 + mvn -Pandroid gluonfx:build gluonfx:package env: GLUON_ANDROID_KEYSTOREPATH: ${{ steps.android_keystore_file.outputs.filePath }} GLUON_ANDROID_KEYSTORE_PASSWORD: ${{ secrets.GLUON_ANDROID_KEYSTORE_PASSWORD }}