mirror of
https://gitea.com/actions/setup-android.git
synced 2025-12-26 08:58:21 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
331008df41 |
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -21,7 +21,7 @@ async function install(): Promise<string> {
|
|||||||
const licenseDir = path.join(ANDROID_SDK_ROOT, 'licenses')
|
const licenseDir = path.join(ANDROID_SDK_ROOT, 'licenses')
|
||||||
|
|
||||||
// If the licences exist, the rest does too
|
// If the licences exist, the rest does too
|
||||||
if (fs.existsSync(licenseDir) && fs.existsSync(ANDROID_REPOSITORIES_CFG)) {
|
if (fs.existsSync(licenseDir)) {
|
||||||
core.debug(`Skipping install, licenseDir found: ${licenseDir}`)
|
core.debug(`Skipping install, licenseDir found: ${licenseDir}`)
|
||||||
return ANDROID_SDK_ROOT
|
return ANDROID_SDK_ROOT
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user