Add download-path output to action.yml (#194)

Reference: https://github.com/actions/download-artifact/issues/153
Reference: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions

Prevents false positives from tooling, such as `actionlint`, that depends on the metadata for static analysis.

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
This commit is contained in:
Brian Flad 2023-01-05 17:35:52 -05:00 committed by GitHub
parent adf9559c4f
commit e9ef242655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,9 @@ inputs:
path: path:
description: 'Destination path' description: 'Destination path'
required: false required: false
outputs:
download-path:
description: 'Path of artifact download'
runs: runs:
using: 'node16' using: 'node16'
main: 'dist/index.js' main: 'dist/index.js'