start calling run service for job completion (#2412)

* start calling run service for job completion

* cleanup

* nit: lines

Co-authored-by: Tingluo Huang <[email protected]>

* clean up

* give sanity back to thboop

Co-authored-by: Thomas Boop <[email protected]>

* add clean up back

* clean up

* clean up more

* oops

* copied from existing, but :thumb:

Co-authored-by: Thomas Boop <[email protected]>

---------

Co-authored-by: Tingluo Huang <[email protected]>
Co-authored-by: Thomas Boop <[email protected]>
This commit is contained in:
Yashwanth Anantharaju
2023-02-01 21:18:31 +00:00
committed by GitHub
co-authored by Tingluo Huang Thomas Boop
parent 24a27efd4f
commit e6e5f36dd0
11 changed files with 220 additions and 78 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ namespace GitHub.Runner.Sdk
// settings are applied to an HttpRequestMessage.
settings.AcceptLanguages.Remove(CultureInfo.InvariantCulture);
RawConnection connection = new(serverUri, new RawHttpMessageHandler(credentials.ToOAuthCredentials(), settings), additionalDelegatingHandler);
RawConnection connection = new(serverUri, new RawHttpMessageHandler(credentials.Federated, settings), additionalDelegatingHandler);
return connection;
}