From ae7d878553eb6b9369c5bc729796dfb15c80761c Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Thu, 27 Jun 2024 13:39:15 -0700 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 80080cc..19d88c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,11 +57,13 @@ jobs: java-version: '17' - name: run MSBuild for Android Remote - run: msbuild .\StompboxAndroid\StompboxAndroid.csproj /t:PackageForAndroid /p:Configuration=Debug - + run: | + echo -n ${{ secrets.KEYSTORE }} | base64 --decode --output android.keystore + msbuild .\StompboxAndroid\StompboxAndroid.csproj /p:Configuration=RELEASE /p:AndroidKeyStore=true /p:AndroidSigningKeyAlias=stompboxkeystore /p:AndroidSigningKeyStore="android.keystore" /p:AndroidSigningKeyPass="${{ secrets.KEYSTORE_PASS }}" /p:AndroidSigningStorePass="${{ secrets.KEYSTORE_PASS }}" + - name: Create Android Remote Artifact uses: actions/upload-artifact@v4 with: name: AndroidRemote - path: ${{github.workspace}}\StompboxAndroid\bin\Debug\net8.0-android\StompboxAndroid.StompboxAndroid-Signed.apk + path: ${{github.workspace}}\StompboxAndroid\bin\Release\net8.0-android\StompboxAndroid.StompboxAndroid-Signed.apk