From 961f7434e77fcb5e98dfc2a0d9f89c40b0a4ddfe Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Wed, 4 Jan 2023 14:38:38 -0500 Subject: [PATCH] Add download-path output to action.yml 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. --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index e16d8c0..8011381 100644 --- a/action.yml +++ b/action.yml @@ -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'