From 0b7f58f4bce9ae296e7bf3e49df58bb9a80eb950 Mon Sep 17 00:00:00 2001 From: Michael Oborne Date: Wed, 22 Nov 2023 11:38:48 +1100 Subject: [PATCH 1/2] Update android.yml --- .github/workflows/android.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index dcba9af68a..4807f79695 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -121,6 +121,8 @@ jobs: Set-Content -Path ExtLibs\Xamarin\Xamarin.Android\Xamarin.Android.csproj -Value (Get-Content -Path ExtLibs\Xamarin\Xamarin.Android\Xamarin.Android.csproj -Raw).Replace("aab","apk") Set-Content -Path ExtLibs\Xamarin\Xamarin.Android\Xamarin.Android.csproj -Value (Get-Content -Path ExtLibs\Xamarin\Xamarin.Android\Xamarin.Android.csproj -Raw).Replace("true","false") + + choco install microsoft-openjdk msbuild -v:m -restore -t:SignAndroidPackage -p:Configuration=Release "ExtLibs\Xamarin\Xamarin.Android\Xamarin.Android.csproj" From 16936b6cb653dc650de76d1dfbe385f32803c496 Mon Sep 17 00:00:00 2001 From: Michael Oborne Date: Wed, 22 Nov 2023 13:00:18 +1100 Subject: [PATCH 2/2] Update android.yml --- .github/workflows/android.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 4807f79695..ecda3b35e7 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -46,6 +46,8 @@ jobs: $manifest.Save($current.Path + "\ExtLibs\Xamarin\Xamarin.Android\Properties\AndroidManifest.xml") + choco install microsoft-openjdk + msbuild -v:m -restore -t:SignAndroidPackage -p:Configuration=Release "ExtLibs\Xamarin\Xamarin.Android\Xamarin.Android.csproj" del ExtLibs\Xamarin\Xamarin.Android\bin\Release\com.michaeloborne.MissionPlanner-Signed.aab