mirror of
https://code.forgejo.org/forgejo/download-artifact.git
synced 2024-12-13 01:37:39 +01:00
e9ef242655
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>
16 lines
420 B
YAML
16 lines
420 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
|
|
outputs:
|
|
download-path:
|
|
description: 'Path of artifact download'
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|