mirror of
https://github.com/github/codeql-action.git
synced 2025-12-20 22:30:13 +08:00
Use version information to construct payload
This commit is contained in:
4
lib/codeql.js
generated
4
lib/codeql.js
generated
@@ -87,9 +87,7 @@ async function getCodeQLBundleDownloadURL(apiDetails, mode, logger) {
|
||||
}
|
||||
const [repositoryOwner, repositoryName] = repository.split("/");
|
||||
try {
|
||||
const release = await api
|
||||
.getApiClient(apiDetails)
|
||||
.repos.getReleaseByTag({
|
||||
const release = await api.getApiClient(apiDetails).repos.getReleaseByTag({
|
||||
owner: repositoryOwner,
|
||||
repo: repositoryName,
|
||||
tag: CODEQL_BUNDLE_VERSION,
|
||||
|
||||
Reference in New Issue
Block a user