mirror of
https://code.forgejo.org/actions/download-artifact.git
synced 2024-12-23 12:36:01 +01: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
|