1
0
Fork 0
mirror of https://gitea.com/actions/upload-artifact.git synced 2024-08-16 09:49:51 +02:00

debugging

This commit is contained in:
Rob Herley 2024-01-19 11:25:15 -05:00
parent d7195ef93f
commit 62aa42dc97
No known key found for this signature in database
GPG key ID: D1602042C3543B06
2 changed files with 2 additions and 1 deletions

View file

@ -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.

View file

@ -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)