Skip to content

Commit

Permalink
chore: repo overall update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Nov 20, 2024
1 parent 734c0d8 commit 2314c09
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/babel-plugin-canyon/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion tools/canyon-uploader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "canyon-uploader",
"version": "0.0.1-beta.20",
"version": "0.0.1-beta.21",
"files": [
"bin",
"dist"
Expand Down
2 changes: 1 addition & 1 deletion tools/canyon-uploader/src/commands/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 2314c09

Please sign in to comment.