mirror of
https://github.com/graalvm/setup-graalvm.git
synced 2025-03-14 06:50:10 +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* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
try {
|
try {
|
||||||
const commitSha = getCommitSha();
|
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}`);
|
core.info(`creating reference with ref '${ref}' for metrics tree ${sha}`);
|
||||||
const octokit = new rest_1.Octokit({
|
const octokit = new rest_1.Octokit({
|
||||||
auth: getGitHubToken(),
|
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* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
try {
|
try {
|
||||||
const commitSha = getCommitSha();
|
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}`);
|
core.info(`creating reference with ref '${ref}' for metrics tree ${sha}`);
|
||||||
const octokit = new rest_1.Octokit({
|
const octokit = new rest_1.Octokit({
|
||||||
auth: getGitHubToken(),
|
auth: getGitHubToken(),
|
||||||
|
@ -188,7 +188,7 @@ export async function createPRComment(content: string): Promise<void> {
|
|||||||
export async function createRef(sha: string) {
|
export async function createRef(sha: string) {
|
||||||
try {
|
try {
|
||||||
const commitSha = getCommitSha()
|
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}`);
|
core.info(`creating reference with ref '${ref}' for metrics tree ${sha}`);
|
||||||
const octokit = new Octokit({
|
const octokit = new Octokit({
|
||||||
auth: getGitHubToken(),
|
auth: getGitHubToken(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user