mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-03-13 14:30:15 +08:00
change used token
This commit is contained in:
parent
607f7c6ae8
commit
a9b965747c
2
dist/cleanup/index.js
generated
vendored
2
dist/cleanup/index.js
generated
vendored
@ -70716,7 +70716,7 @@ function generateReports() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8'));
|
const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8'));
|
||||||
const octokit = github_api.getOctokit(REPORT_TOKEN);
|
const octokit = github_api.getOctokit(c.INPUT_GITHUB_TOKEN);
|
||||||
const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput));
|
const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput));
|
||||||
const { data } = yield octokit.repos.createOrUpdateFileContents({
|
const { data } = yield octokit.repos.createOrUpdateFileContents({
|
||||||
owner: 'jessiscript',
|
owner: 'jessiscript',
|
||||||
|
2
dist/main/index.js
generated
vendored
2
dist/main/index.js
generated
vendored
@ -70815,7 +70815,7 @@ function generateReports() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8'));
|
const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8'));
|
||||||
const octokit = github_api.getOctokit(REPORT_TOKEN);
|
const octokit = github_api.getOctokit(c.INPUT_GITHUB_TOKEN);
|
||||||
const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput));
|
const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput));
|
||||||
const { data } = yield octokit.repos.createOrUpdateFileContents({
|
const { data } = yield octokit.repos.createOrUpdateFileContents({
|
||||||
owner: 'jessiscript',
|
owner: 'jessiscript',
|
||||||
|
@ -133,7 +133,7 @@ export async function generateReports(): Promise<void> {
|
|||||||
fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')
|
fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')
|
||||||
)
|
)
|
||||||
|
|
||||||
const octokit = github_api.getOctokit(REPORT_TOKEN)
|
const octokit = github_api.getOctokit(c.INPUT_GITHUB_TOKEN)
|
||||||
const contentEncoded = Base64.encode(JSON.stringify(buildOutput))
|
const contentEncoded = Base64.encode(JSON.stringify(buildOutput))
|
||||||
|
|
||||||
const { data } = await octokit.repos.createOrUpdateFileContents({
|
const { data } = await octokit.repos.createOrUpdateFileContents({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user