Skip to content
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

[build] move bundle zip to $(AndroidToolchainCacheDirectory) #880

Merged
merged 1 commit into from
Sep 20, 2017

Conversation

jonathanpeppers
Copy link
Member

Previously the bundle was being downloaded to bin/BuildDebug, which
would be commonly cleaned for each build on CI systems. We can speed up
our builds by downloading the file to ~/android-archives, which is
already used for various other downloads. This will persist the file
between builds on the same build agent.

Previously the bundle was being downloaded to `bin/BuildDebug`, which
would be commonly cleaned for each build on CI systems. We can speed up
our builds by downloading the file to `~/android-archives`, which is
already used for various other downloads. This will persist the file
between builds on the same build agent.
@dnfclas
Copy link

dnfclas commented Sep 20, 2017

@jonathanpeppers,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@jonpryor jonpryor merged commit e5cc9e2 into dotnet:master Sep 20, 2017
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Sep 21, 2017
Context in dotnet#880

Since we are now downloading the bundle to `~/android-archives`, it is
possible that the directory will not exist on a clean machine. We should
be calling `Directory.CreateDirectory` in the `DownloadUri` task anyway,
as this could easily happen on any destination file.

A case this occured happened on VSTS:
https://devdiv.visualstudio.com/DevDiv/_build/index?buildId=1006149
@jonathanpeppers jonathanpeppers deleted the bundle-path branch September 21, 2017 18:17
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants