ci: provision Android SDK and Java on the Windows runner

This commit is contained in:
yilsem committed 2026-10-07 20:28:27 +03:00
1 parent cb7e6acb59
commit 9e4e979e7a
1 file changed
+10 -1
+10 -1
View File
@@ -13,11 +13,20 @@ jobs:
- uses: actions/checkout@v4
with:
github-server-url: https://gitea.twinpay.one
- name: Set up Java 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- name: Set up Android SDK
uses: android-actions/setup-android@v3
with:
packages: 'platform-tools platforms;android-37 build-tools;37.0.0'
log-accepted-android-sdk-licenses: false
- name: Test and build exact commit
shell: powershell
run: |
$ErrorActionPreference = 'Stop'
. "$env:LOCALAPPDATA\aiturk-mobile-tools\ortam.ps1"
if ((git rev-parse HEAD).Trim() -ne $env:GITHUB_SHA) { throw 'Checkout SHA mismatch' }
.\gradlew.bat testDebugUnitTest assembleDebug compileReleaseKotlin --no-daemon --console=plain
exit $LASTEXITCODE