File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ branding:
88inputs :
99 token :
1010 required : true
11- description : ' Square Cloud api token'
11+ description : ' Square Cloud API token'
1212 command :
1313 required : true
14- description : ' Command you want to execute '
15- cwd :
14+ description : ' Arguments to pass to Square Cloud CLI '
15+ workdir :
1616 required : false
1717 default : " ."
18- description : ' Command you want to execute '
18+ description : ' Working Directory '
1919
2020runs :
2121 using : ' node20'
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ import os from "node:os";
44export interface ActionInputs {
55 token : string ;
66 command : string ;
7- cwd : string ;
7+ workdir : string ;
88}
99
1010export function getInputs ( ) : ActionInputs {
1111 return {
1212 token : core . getInput ( "token" , { required : true } ) ,
1313 command : core . getInput ( "command" , { required : true } ) ,
14- cwd : core . getInput ( "cwd" ) || "." ,
14+ workdir : core . getInput ( "cwd" ) || "." ,
1515 }
1616}
1717
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { install } from "./cli";
66
77async function run ( ) : Promise < void > {
88 try {
9- const { cwd, command, token } = getInputs ( )
9+ const { workdir : cwd , command, token } = getInputs ( )
1010
1111 const cliBinary = await install ( )
1212 core . info ( `CLI Installed successfully` )
You can’t perform that action at this time.
0 commit comments