diff --git a/packages/eas-cli/src/commands/workflow/run.ts b/packages/eas-cli/src/commands/workflow/run.ts index 0637eb0621..ad8f8419c5 100644 --- a/packages/eas-cli/src/commands/workflow/run.ts +++ b/packages/eas-cli/src/commands/workflow/run.ts @@ -81,6 +81,7 @@ export default class WorkflowRun extends EasCommand { let projectArchiveBucketKey: string; let easJsonBucketKey: string; + let packageJsonBucketKey: string; try { ({ projectArchiveBucketKey } = await uploadAccountScopedProjectSourceAsync({ @@ -94,6 +95,12 @@ export default class WorkflowRun extends EasCommand { filePath: path.join(projectDir, 'eas.json'), maxSizeBytes: 1024 * 1024, })); + ({ fileBucketKey: packageJsonBucketKey } = await uploadAccountScopedFileAsync({ + graphqlClient, + accountId: account.id, + filePath: path.join(projectDir, 'package.json'), + maxSizeBytes: 1024 * 1024, + })); } catch (err) { Log.error('Failed to upload project sources.'); @@ -114,6 +121,7 @@ export default class WorkflowRun extends EasCommand { type: WorkflowProjectSourceType.Gcs, projectArchiveBucketKey, easJsonBucketKey, + packageJsonBucketKey, }, }, }