26 lines
587 B
YAML
26 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
|