Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c740700

Browse filesBrowse files
author
Maxim Lobanov
committed
Update index.js
1 parent 6b96b1a commit c740700
Copy full SHA for c740700

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎dist/index.js

Copy file name to clipboardExpand all lines: dist/index.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3486,7 +3486,7 @@ function findAllVersions(toolName, arch) {
34863486
return versions;
34873487
}
34883488
exports.findAllVersions = findAllVersions;
3489-
function getManifestFromRepo(owner, repo, auth, branch = 'master') {
3489+
function getManifestFromRepo(owner, repo, auth, branch = 'main') {
34903490
return __awaiter(this, void 0, void 0, function* () {
34913491
let releases = [];
34923492
const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;
@@ -3508,6 +3508,7 @@ function getManifestFromRepo(owner, repo, auth, branch = 'master') {
35083508
}
35093509
}
35103510
headers['accept'] = 'application/vnd.github.VERSION.raw';
3511+
core.info(manifestUrl);
35113512
let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();
35123513
if (versionsRaw) {
35133514
// shouldn't be needed but protects against invalid json saved with BOM

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.