mirror of
https://gitea.com/actions/upload-artifact.git
synced 2024-08-16 09:49:51 +02:00
debugging
This commit is contained in:
parent
d7195ef93f
commit
62aa42dc97
2 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@ inputs:
|
||||||
default: 'artifact'
|
default: 'artifact'
|
||||||
path:
|
path:
|
||||||
description: 'A file, directory or wildcard pattern that describes what to upload'
|
description: 'A file, directory or wildcard pattern that describes what to upload'
|
||||||
required: false
|
required: true
|
||||||
if-no-files-found:
|
if-no-files-found:
|
||||||
description: >
|
description: >
|
||||||
The desired behavior if no files are found using the provided path.
|
The desired behavior if no files are found using the provided path.
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue