chore: install JDK via .tool-versions (#10663)

For working on the Android app, we need an installation of the JDK.
Currently, that is being installed separately in CI. We already have
`.tool-versions` which is designed to take care of this so we add
OpenJDK 17 to the list of required tools and remove the dedicated CI
step.
This commit is contained in:
Thomas Eizinger
2025-10-21 14:13:03 +11:00
committed by GitHub
parent 2729a7731b
commit a59f7ee2e2
3 changed files with 4 additions and 5 deletions

View File

@@ -67,6 +67,7 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-tags: true # Otherwise we cannot embed the correct version into the build.
- uses: marocchino/tool-versions-action@18a164fa2b0db1cc1edf7305fcb17ace36d1c306 # v1.2.0
- uses: ./.github/actions/setup-android
with:
sccache_azure_connection_string: ${{ secrets.SCCACHE_AZURE_CONNECTION_STRING }}