[Issue #384] Implement silent licence agreement.

This commit is contained in:
Vilius Sutkus '89
2023-11-21 22:08:54 +02:00
parent 423241b186
commit aeaba18a12
6 changed files with 53 additions and 6 deletions

View File

@@ -64,5 +64,16 @@ To install a different version, call setup-android with desired long version as
Current cmdline tools version can be found at https://developer.android.com/studio#command-line-tools-only
# Android SDK Licences
Android SDK (unsurprisingly) is not public domain software, it comes with a licence.
Input parameter `accept-android-sdk-licenses` decides if Android SDK licences should be agreed to on behalf of the user of this action.
Default option is 'yes', because otherwise SDK is unusable until said licences are agreed to.
Licences are quite long, to prevent a wall of text in the action output, licences can be agreed to silently.
Input parameter `log-accepted-android-sdk-licenses` controls whether licence texts should be printed or omitted from the text output. Defaults to 'true'.
# Thanks
Based on the project [android-problem-matchers-action](https://github.com/jonasb/android-problem-matchers-action) from [@jonasb](https://github.com/jonasb)