3
0
Fork 0
mirror of https://gitea.com/actions/setup-go.git synced 2024-11-21 17:19:33 +01:00

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') {
return __awaiter(this, void 0, void 0, function* () {
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 headers = {};
if (auth) {