Add inputs

This commit is contained in:
Justin Hutchings
2022-08-25 09:21:59 -07:00
parent 1467e01173
commit 71940e0673
+9 -9
View File
@@ -1,13 +1,13 @@
name: 'Wait'
description: 'Wait a designated number of milliseconds'
name: 'SPDX-to-dependency-graph-action'
description: 'Upload SPDX files to the dependency graph'
inputs:
milliseconds: # id of input
description: 'number of milliseconds to wait'
required: true
default: '1000'
outputs:
time: # output will be available to future steps
description: 'The current time after waiting'
filePath:
description: 'The path to the directory containing the SPDX files to upload. Defaults to Actions working directory.'
required: false
filePattern:
description: 'The file name pattern for SPDX files to upload'
required: false
default: '*.spdx.json'
runs:
using: 'node16'
main: 'dist/index.js'