Add a CLI interface to the upload-sarif action

This commit is contained in:
Robert Brignull
2020-08-11 12:42:42 +01:00
parent bcf676e52d
commit 6d7a135fea
15 changed files with 355 additions and 89 deletions

View File

@@ -121,7 +121,7 @@ async function getCodeQLBundleDownloadURL(): Promise<string> {
}
let [repositoryOwner, repositoryName] = repository.split("/");
try {
const release = await api.getApiClient().repos.getReleaseByTag({
const release = await api.getActionsApiClient().repos.getReleaseByTag({
owner: repositoryOwner,
repo: repositoryName,
tag: CODEQL_BUNDLE_VERSION