mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: add missing ELECTRON_ARTIFACTS_BLOB_STORAGE env var (#42402)
build: add missing ELECTRON_ARTIFACTS_BLOB_STORAGE env var
This commit is contained in:
@@ -5,7 +5,13 @@ const path = require('node:path');
|
||||
// TODO(vertedinde): This variable is a test variable in GHA, sending test
|
||||
// artifacts to a test account. Change to the real electron artifacts
|
||||
// storage account when ready.
|
||||
const blobServiceClient = BlobServiceClient.fromConnectionString(process.env.ELECTRON_ARTIFACTS_BLOB_STORAGE);
|
||||
const { ELECTRON_ARTIFACTS_BLOB_STORAGE } = process.env;
|
||||
if (!ELECTRON_ARTIFACTS_BLOB_STORAGE) {
|
||||
console.error('Missing required ELECTRON_ARTIFACTS_BLOB_STORAGE environment variable.');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
const blobServiceClient = BlobServiceClient.fromConnectionString(ELECTRON_ARTIFACTS_BLOB_STORAGE);
|
||||
|
||||
const args = require('minimist')(process.argv.slice(2));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user