mirror of
https://gitea.com/actions/setup-go.git
synced 2024-11-22 01:29:32 +01:00
Use gitea.com domain
This commit is contained in:
parent
b22fbbc292
commit
8c779dd49b
1 changed files with 3152 additions and 3152 deletions
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 a new issue