mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-03-13 14:30:15 +08:00
repair creating ref
This commit is contained in:
parent
38a653dad2
commit
ab28789618
2
dist/cleanup/index.js
generated
vendored
2
dist/cleanup/index.js
generated
vendored
@ -74986,7 +74986,7 @@ function createRef(sha) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
const commitSha = getCommitSha();
|
||||
const ref = c.METRIC_PATH + commitSha;
|
||||
const ref = 'refs/' + c.METRIC_PATH + '/' + commitSha;
|
||||
core.info(`creating reference with ref '${ref}' for metrics tree ${sha}`);
|
||||
const octokit = new rest_1.Octokit({
|
||||
auth: getGitHubToken(),
|
||||
|
2
dist/main/index.js
generated
vendored
2
dist/main/index.js
generated
vendored
@ -76062,7 +76062,7 @@ function createRef(sha) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
const commitSha = getCommitSha();
|
||||
const ref = c.METRIC_PATH + commitSha;
|
||||
const ref = 'refs/' + c.METRIC_PATH + '/' + commitSha;
|
||||
core.info(`creating reference with ref '${ref}' for metrics tree ${sha}`);
|
||||
const octokit = new rest_1.Octokit({
|
||||
auth: getGitHubToken(),
|
||||
|
@ -188,7 +188,7 @@ export async function createPRComment(content: string): Promise<void> {
|
||||
export async function createRef(sha: string) {
|
||||
try {
|
||||
const commitSha = getCommitSha()
|
||||
const ref = c.METRIC_PATH + commitSha
|
||||
const ref = 'refs/' + c.METRIC_PATH + '/' + commitSha
|
||||
core.info(`creating reference with ref '${ref}' for metrics tree ${sha}`);
|
||||
const octokit = new Octokit({
|
||||
auth: getGitHubToken(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user