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

Added retries to SetCloudBuildVariable for GitHubActions #556

Merged
merged 1 commit into from Jan 18, 2021
Merged

Added retries to SetCloudBuildVariable for GitHubActions #556

merged 1 commit into from Jan 18, 2021

Conversation

danjagnow
Copy link
Contributor

Updated the GitHubActions class to adopt retries in the SetCloudBuildVariable method.

This is an attempt to address occasional build failures I have seen in a GitHub Actions build. The symptoms seem similar to #164. I'm seeing errors similar to the following (slightly sanitized) in the logs.

C:\Users\runneradmin\.nuget\packages\nerdbank.gitversioning\3.3.37\build\Nerdbank.GitVersioning.targets(115,5): error MSB4018: The "Nerdbank.GitVersioning.Tasks.SetCloudBuildVariables" task failed unexpectedly. [D:\a\somepath\my.csproj]

C:\Users\runneradmin\.nuget\packages\nerdbank.gitversioning\3.3.37\build\Nerdbank.GitVersioning.targets(115,5): error MSB4018: System.IO.IOException: The process cannot access the file 'D:\a\_temp\_runner_file_commands\set_env_some_guid' because it is being used by another process. [D:\a\somepath\my.csproj]

Updated the GitHubActions class to adopt retries in the SetCloudBuildVariable method.
@AArnott
Copy link
Collaborator

AArnott commented Jan 18, 2021

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@AArnott AArnott merged commit 0637ff0 into dotnet:master Jan 18, 2021
@danjagnow
Copy link
Contributor Author

Amazing turnaround! Thanks, @AArnott.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants