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
1 changed files with 3 additions and 0 deletions

View File

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