download-artifact/action.yml
2023-02-18 11:19:27 +09:00

21 lines
569 B
YAML

name: 'Download a Build Artifact'
description: 'Download a build artifact that was previously uploaded in the workflow by the upload-artifact action'
author: 'GitHub'
inputs:
name:
description: 'Artifact name'
required: false
path:
description: 'Destination path'
required: false
if-no-artifact:
description: 'How to exit action if no artifact is found. Can be fail, warn or ignore'
default: 'fail'
required: false
outputs:
download-path:
description: 'Path of artifact download'
runs:
using: 'node16'
main: 'dist/index.js'