2019-11-08 12:00:32 -05:00
|
|
|
name: 'Download a Build Artifact'
|
|
|
|
description: 'Download a build artifact that was previously uploaded in the workflow by the upload-artifact action'
|
2019-06-24 16:40:04 -04:00
|
|
|
author: 'GitHub'
|
|
|
|
inputs:
|
|
|
|
name:
|
|
|
|
description: 'Artifact name'
|
2020-04-28 09:45:21 -04:00
|
|
|
required: false
|
2019-06-24 16:40:04 -04:00
|
|
|
path:
|
2020-04-28 09:45:21 -04:00
|
|
|
description: 'Destination path'
|
|
|
|
required: false
|
2023-01-05 17:35:52 -05:00
|
|
|
outputs:
|
|
|
|
download-path:
|
|
|
|
description: 'Path of artifact download'
|
2019-06-24 16:40:04 -04:00
|
|
|
runs:
|
2022-02-07 15:18:27 -05:00
|
|
|
using: 'node16'
|
|
|
|
main: 'dist/index.js'
|
2023-10-28 14:31:17 -04:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- uses: actions/download-artifact@v3
|
|
|
|
with:
|
|
|
|
name: my-artifact
|
|
|
|
|
|
|
|
- name: Display structure of downloaded files
|
|
|
|
run: ls -R
|