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'
|
2023-08-24 11:57:52 -04:00
|
|
|
inputs:
|
2019-06-24 16:40:04 -04:00
|
|
|
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-08-24 11:57:52 -04:00
|
|
|
github-token:
|
2023-12-01 13:20:09 -05:00
|
|
|
description: 'The GitHub token used to authenticate with the GitHub API.
|
|
|
|
This is required when downloading artifacts from a different repository or from a different workflow run.
|
|
|
|
If this is not specified, the action will attempt to download artifacts from the current repository and the current workflow run.'
|
2023-08-24 11:57:52 -04:00
|
|
|
required: false
|
|
|
|
repository:
|
|
|
|
description: 'The repository owner and the repository name joined together by "/".
|
2023-12-01 13:20:09 -05:00
|
|
|
If github-token is specified, this is the repository that artifacts will be downloaded from.'
|
2023-08-24 11:57:52 -04:00
|
|
|
required: false
|
|
|
|
default: ${{ github.repository }}
|
|
|
|
run-id:
|
2023-12-01 13:20:09 -05:00
|
|
|
description: 'The id of the workflow run where the desired download artifact was uploaded from.
|
|
|
|
If github-token is specified, this is the run that artifacts will be downloaded from.'
|
2023-08-24 11:57:52 -04:00
|
|
|
required: false
|
|
|
|
default: ${{ github.run_id }}
|
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:
|
2023-10-27 10:11:07 -04:00
|
|
|
using: 'node20'
|
2022-02-07 15:18:27 -05:00
|
|
|
main: 'dist/index.js'
|