mirror of
https://gitea.com/actions/setup-go.git
synced 2024-11-23 18:03:23 +08:00
Use gitea.com domain
This commit is contained in:
parent
b22fbbc292
commit
8c779dd49b
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://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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user