-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tear Down Action #193
Comments
Maybe using the |
const HOME = os.homedir()
const ANDROID_HOME_DIR = path.join(HOME, '.android')
const ANDROID_HOME_SDK_DIR = path.join(ANDROID_HOME_DIR, 'sdk')
let ANDROID_SDK_ROOT = process.env['ANDROID_SDK_ROOT'] || ANDROID_HOME_SDK_DIR You can workaround this by setting ANDROID_SDK_ROOT environment variable. We use |
That sounds like a good work around. My biggest concern would be around multiple runners on the same system trying to modify the same files for setup. |
I'll go with a definite maybe here. It depends on what happens with |
Unless I explicitly cache the install directory that would be my expectations of a CI environment. For permanently changing the environment I would expect to either change the image I am using for the runners or otherwise manually setup the server with the dependencies. This isn't to say that having it implicitly leave the sdk installed doesn't work, as clearly it does, it just wasn't what I had expected given how other similar actions work.
If your concern is around having multiple runners point at this cache, I believe that default and expected use case is that this be unique per runner given that other similar directories like Across all of my self hosted runners this is unique per each one. |
It would be nice if after the job was complete if the downloaded SDK would be automatically deleted.
The text was updated successfully, but these errors were encountered: