-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
37 lines (33 loc) · 947 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# SPDX-FileCopyrightText: 2020 Pier Luigi Fiorini <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
name: fetch-artifact
description: Fetch and extract an artifact
author: plfiorini
branding:
icon: download
color: blue
runs:
using: docker
image: Dockerfile
inputs:
github_token:
description: 'GitHub token'
required: true
default: ${{ github.token }}
repository:
description: 'Repository name with owner (like actions/checkout)'
required: true
default: ${{ github.repository }}
workflow_path:
description: 'Path to the workflow file, used to identify the workflow'
required: true
artifact_name:
description: 'Name of the artifact'
required: true
save_as:
description: 'Alternative file name to give to the downloaded artifact'
extract_to:
description: 'Path where the artifact is extracted, defaults to the current directory'
required: true
default: .