File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,17 @@ export interface Input {
7
7
readonly FilePath : string
8
8
}
9
9
10
+ export const getInput = ( ) : Input => ( {
11
+ Token : core . getInput ( 'token' ) ,
12
+ GistID : core . getInput ( 'gist_id' ) ,
13
+ GistFileName : core . getInput ( 'gist_file_name' ) ,
14
+ FilePath : core . getInput ( 'file_path' )
15
+ } )
16
+
10
17
export const showInput = ( input : Input ) : void => {
11
18
core . info ( `\
12
19
[INFO] GistID: ${ input . GistID }
13
20
[INFO] GistFileName: ${ input . GistFileName ?? 'No Change' }
14
21
[INFO] FilePath: ${ input . FilePath }
15
22
` )
16
23
}
17
-
18
- export const getInput = ( ) : Input => ( {
19
- Token : core . getInput ( 'token' ) ,
20
- GistID : core . getInput ( 'gist_id' ) ,
21
- GistFileName : core . getInput ( 'gist_file_name' ) ,
22
- FilePath : core . getInput ( 'file_path' )
23
- } )
You can’t perform that action at this time.
0 commit comments