Use gitea.com domain

This commit is contained in:
Lunny Xiao 2022-06-05 20:12:30 +08:00
parent b22fbbc292
commit 8c779dd49b
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

2
dist/setup/index.js vendored
View File

@ -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://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`; const treeUrl = `https://gitea.com/api/v1/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) {