forked from actions-ecosystem/action-get-latest-tag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
25 lines (25 loc) · 837 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
name: Actions Ecosystem Action Get Latest Tag
description: Get a latest Git tag.
author: Actions Ecosystem
inputs:
semver_only:
description: Whether gets only a tag in the shape of semver. `v` prefix is accepted for tag names.
required: false
default: "false"
initial_version:
description: The initial version. Works only when `inputs.with_initial_version` == `true`.
required: false
default: "v0.0.0"
with_initial_version:
description: Whether returns `inputs.initial_version` as `outputs.tag` if no tag exists. `true` and `false` are available.
required: false
default: "true"
outputs:
tag:
description: The latest tag. If no tag exists and `inputs.with_initial_version` == `false`, this value is `''`.
runs:
using: docker
image: Dockerfile
branding:
icon: bookmark
color: green