mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-03-13 14:30:15 +08:00
repair octokit route
This commit is contained in:
parent
e467414d34
commit
f30640c2cc
4
dist/cleanup/index.js
generated
vendored
4
dist/cleanup/index.js
generated
vendored
@ -75014,7 +75014,7 @@ function getBlobTreeSha(octokit, context, baseCommitSha) {
|
||||
}
|
||||
function getBlobSha(octokit, context, blobTreeSha) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const { data } = yield octokit.request(`GET /repos/${context.repo.owner}/git/trees/${blobTreeSha}`, Object.assign(Object.assign({}, context.repo), { tree_sha: blobTreeSha, headers: {
|
||||
const { data } = yield octokit.request(`GET /repos/${context.repo.owner}/${context.repo.repo}/git/trees/${blobTreeSha}`, Object.assign(Object.assign({}, context.repo), { tree_sha: blobTreeSha, headers: {
|
||||
'X-GitHub-Api-Version': '2022-11-28'
|
||||
} }));
|
||||
core.info(data);
|
||||
@ -75023,7 +75023,7 @@ function getBlobSha(octokit, context, blobTreeSha) {
|
||||
}
|
||||
function getBlobContent(octokit, context, blobSha) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const { data } = yield octokit.request(`GET /repos/${context.repo.owner}/git/blobs/${blobSha}`, Object.assign(Object.assign({}, context.repo), { file_sha: blobSha, headers: {
|
||||
const { data } = yield octokit.request(`GET /repos/${context.repo.owner}/${context.repo.repo}/git/blobs/${blobSha}`, Object.assign(Object.assign({}, context.repo), { file_sha: blobSha, headers: {
|
||||
'X-GitHub-Api-Version': '2022-11-28'
|
||||
} }));
|
||||
core.info(data);
|
||||
|
4
dist/main/index.js
generated
vendored
4
dist/main/index.js
generated
vendored
@ -76011,7 +76011,7 @@ function getBlobTreeSha(octokit, context, baseCommitSha) {
|
||||
}
|
||||
function getBlobSha(octokit, context, blobTreeSha) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const { data } = yield octokit.request(`GET /repos/${context.repo.owner}/git/trees/${blobTreeSha}`, Object.assign(Object.assign({}, context.repo), { tree_sha: blobTreeSha, headers: {
|
||||
const { data } = yield octokit.request(`GET /repos/${context.repo.owner}/${context.repo.repo}/git/trees/${blobTreeSha}`, Object.assign(Object.assign({}, context.repo), { tree_sha: blobTreeSha, headers: {
|
||||
'X-GitHub-Api-Version': '2022-11-28'
|
||||
} }));
|
||||
core.info(data);
|
||||
@ -76020,7 +76020,7 @@ function getBlobSha(octokit, context, blobTreeSha) {
|
||||
}
|
||||
function getBlobContent(octokit, context, blobSha) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const { data } = yield octokit.request(`GET /repos/${context.repo.owner}/git/blobs/${blobSha}`, Object.assign(Object.assign({}, context.repo), { file_sha: blobSha, headers: {
|
||||
const { data } = yield octokit.request(`GET /repos/${context.repo.owner}/${context.repo.repo}/git/blobs/${blobSha}`, Object.assign(Object.assign({}, context.repo), { file_sha: blobSha, headers: {
|
||||
'X-GitHub-Api-Version': '2022-11-28'
|
||||
} }));
|
||||
core.info(data);
|
||||
|
@ -291,7 +291,7 @@ async function getBlobTreeSha(octokit: Octokit, context: Context, baseCommitSha:
|
||||
}
|
||||
|
||||
async function getBlobSha(octokit: Octokit, context: Context, blobTreeSha: string) {
|
||||
const { data } = await octokit.request(`GET /repos/${context.repo.owner}/git/trees/${blobTreeSha}`, {
|
||||
const { data } = await octokit.request(`GET /repos/${context.repo.owner}/${context.repo.repo}/git/trees/${blobTreeSha}`, {
|
||||
...context.repo,
|
||||
tree_sha: blobTreeSha,
|
||||
headers: {
|
||||
@ -303,7 +303,7 @@ async function getBlobSha(octokit: Octokit, context: Context, blobTreeSha: strin
|
||||
}
|
||||
|
||||
async function getBlobContent(octokit: Octokit, context: Context, blobSha: string) {
|
||||
const { data } = await octokit.request(`GET /repos/${context.repo.owner}/git/blobs/${blobSha}`, {
|
||||
const { data } = await octokit.request(`GET /repos/${context.repo.owner}/${context.repo.repo}/git/blobs/${blobSha}`, {
|
||||
...context.repo,
|
||||
file_sha: blobSha,
|
||||
headers: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user