-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathaction.yaml
More file actions
38 lines (34 loc) · 907 Bytes
/
action.yaml
File metadata and controls
38 lines (34 loc) · 907 Bytes
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
38
name: 'Get latest Github release'
description: 'Get the latest release from another repository and output that for use in other actions'
author: "rez0n"
branding:
icon: 'anchor'
color: 'orange'
inputs:
token:
description: 'GitHub Access token'
required: false
repository:
description: 'The repository name in full formar (owner/repo)'
required: true
type:
description: 'Wanted release type (latest, stable, draft, nodraft)'
required: true
filter:
description: 'A regex, filtering out releases that do not match'
required: false
type: string
outputs:
release:
description: 'Release tag'
release_id:
description: 'Release Github ID'
browser_download_url:
description: 'Release first asset download URL'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.token }}
- ${{ inputs.repository }}
- ${{ inputs.type }}