|
|
@ -6,6 +6,7 @@ import {UploadInputs} from './upload-inputs'
|
|
|
|
* Helper to get all the inputs for the action
|
|
|
|
* Helper to get all the inputs for the action
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function getInputs(): UploadInputs {
|
|
|
|
export function getInputs(): UploadInputs {
|
|
|
|
|
|
|
|
core.info('debug: getInputs()')
|
|
|
|
const name = core.getInput(Inputs.Name)
|
|
|
|
const name = core.getInput(Inputs.Name)
|
|
|
|
const path = core.getInput(Inputs.Path, {required: true})
|
|
|
|
const path = core.getInput(Inputs.Path, {required: true})
|
|
|
|
const overwrite = core.getBooleanInput(Inputs.Overwrite)
|
|
|
|
const overwrite = core.getBooleanInput(Inputs.Overwrite)
|
|
|
|