Skip to content

Commit 9c38313

Browse files
committed
version 1.0.1
1 parent 2d0c22c commit 9c38313

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32555,7 +32555,7 @@ const run = () => __awaiter(void 0, void 0, void 0, function* () {
3255532555
name,
3255632556
};
3255732557
const paramsString = Object.keys(params).reduce((acc, key) => {
32558-
return params[key] ? `${acc} --${key} ${params[key]}` : acc;
32558+
return params[key] ? `${acc} --${key} "${params[key]}"` : acc;
3255932559
}, '');
3256032560
(0, child_process_1.execSync)(`npx --yes @devicecloud.dev/dcd cloud ${paramsString} --quiet`, {
3256132561
stdio: 'inherit',

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
"name": "dcd-github-action",
33
"description": "run maestro tests on devicecloud.dev",
44
"author": "devicecloud.dev",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"main": "src/index.ts",
77
"license": "MIT",
88
"engines": {
99
"node": ">=20.0.0"
1010
},
1111
"scripts": {
12-
"build": "ncc build"
12+
"build": "ncc build",
13+
"test": "yarn build && cp -r dist ../test-gha/gha && cp action.yml ../test-gha/gha"
1314
},
1415
"dependencies": {
1516
"@actions/core": "^1.5.0",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const run = async (): Promise<void> => {
4343
};
4444

4545
const paramsString = Object.keys(params).reduce((acc, key) => {
46-
return params[key] ? `${acc} --${key} ${params[key]}` : acc;
46+
return params[key] ? `${acc} --${key} "${params[key]}"` : acc;
4747
}, '');
4848

4949
execSync(`npx --yes @devicecloud.dev/dcd cloud ${paramsString} --quiet`, {

0 commit comments

Comments
 (0)