mirror of
https://gitea.com/actions/setup-go.git
synced 2025-05-10 09:29:30 +02:00
Compare commits
No commits in common. "main" and "v3.2.0" have entirely different histories.
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -6767,7 +6767,7 @@ exports.findAllVersions = findAllVersions;
|
|||||||
function getManifestFromRepo(owner, repo, auth, branch = 'master') {
|
function getManifestFromRepo(owner, repo, auth, branch = 'master') {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
let releases = [];
|
let releases = [];
|
||||||
const treeUrl = `https://gitea.com/api/v1/repos/${owner}/${repo}/git/trees/${branch}`;
|
const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;
|
||||||
const http = new httpm.HttpClient('tool-cache');
|
const http = new httpm.HttpClient('tool-cache');
|
||||||
const headers = {};
|
const headers = {};
|
||||||
if (auth) {
|
if (auth) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user