diff --git a/plugins/babel-plugin-canyon/package.json b/plugins/babel-plugin-canyon/package.json index 5c59c1ba..fca8c04f 100644 --- a/plugins/babel-plugin-canyon/package.json +++ b/plugins/babel-plugin-canyon/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-canyon", - "version": "1.8.78-beta.32", + "version": "1.8.78-beta.33", "description": "", "scripts": { "release": "babel src --extensions \".ts\" --out-dir lib", diff --git a/plugins/babel-plugin-canyon/src/ci_providers/provider_githubactions.ts b/plugins/babel-plugin-canyon/src/ci_providers/provider_githubactions.ts index 2d213021..b99c4f1a 100644 --- a/plugins/babel-plugin-canyon/src/ci_providers/provider_githubactions.ts +++ b/plugins/babel-plugin-canyon/src/ci_providers/provider_githubactions.ts @@ -40,7 +40,7 @@ function _getSHA(inputs: UploaderInputs): string { function _getSlug(inputs: UploaderInputs): string { const { args, envs } = inputs // if (args.slug !== '') return args.slug - return envs.GITHUB_REPOSITORY || '' + return envs.GITHUB_REPOSITORY_ID || '' } export function getServiceParams(inputs: UploaderInputs): IServiceParams { @@ -61,7 +61,7 @@ export function getEnvVarNames(): string[] { 'GITHUB_ACTION', 'GITHUB_HEAD_REF', 'GITHUB_REF', - 'GITHUB_REPOSITORY', + 'GITHUB_REPOSITORY_ID', 'GITHUB_RUN_ID', 'GITHUB_SERVER_URL', 'GITHUB_SHA', diff --git a/plugins/babel-plugin-canyon/src/ci_providers/provider_vercel.ts b/plugins/babel-plugin-canyon/src/ci_providers/provider_vercel.ts index 8b5aff39..e4a6acff 100644 --- a/plugins/babel-plugin-canyon/src/ci_providers/provider_vercel.ts +++ b/plugins/babel-plugin-canyon/src/ci_providers/provider_vercel.ts @@ -58,7 +58,7 @@ export function getEnvVarNames(): string[] { 'GITHUB_ACTION', 'GITHUB_HEAD_REF', 'GITHUB_REF', - 'GITHUB_REPOSITORY', + 'GITHUB_REPOSITORY_ID', 'GITHUB_RUN_ID', 'GITHUB_SERVER_URL', 'GITHUB_SHA', diff --git a/tools/canyon-uploader/package.json b/tools/canyon-uploader/package.json index 19af74b7..828d4503 100644 --- a/tools/canyon-uploader/package.json +++ b/tools/canyon-uploader/package.json @@ -1,6 +1,6 @@ { "name": "canyon-uploader", - "version": "0.0.1-beta.20", + "version": "0.0.1-beta.21", "files": [ "bin", "dist" diff --git a/tools/canyon-uploader/src/commands/map.ts b/tools/canyon-uploader/src/commands/map.ts index de82b094..91c5a794 100644 --- a/tools/canyon-uploader/src/commands/map.ts +++ b/tools/canyon-uploader/src/commands/map.ts @@ -33,7 +33,7 @@ export async function mapCommand(params, options) { } const reqData = { projectID: - projectID || process.env.CI_PROJECT_ID || process.env.GITHUB_REPOSITORY, + projectID || process.env.CI_PROJECT_ID || process.env.GITHUB_REPOSITORY_ID, sha: sha || process.env.CI_COMMIT_SHA || process.env.GITHUB_SHA, instrumentCwd: instrumentCwd || process.cwd(), coverage: Object.keys(data),