mirror of
https://github.com/actions/download-artifact.git
synced 2024-12-26 09:12:13 -05:00
25 lines
587 B
YAML
25 lines
587 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'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/download-artifact@v3
|
|
with:
|
|
name: my-artifact
|
|
|
|
- name: Display structure of downloaded files
|
|
run: ls -R
|