-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
32 lines (32 loc) · 975 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
name: 'Bump Action Major Version tag'
description: 'Bump the major version reference tag for the action.'
inputs:
tag:
description: 'The version tag to grab the major version from.'
required: false
sha:
description: 'The sha for the tag used to generate the major version release.'
required: false
github_token:
description: 'Token to use to push to the repo. Pass in using `secrets.GITHUB_TOKEN`.'
required: false
default: ${{ github.token }}
prefix:
description: 'Version number prefix value.'
required: false
default: ""
dry_run:
description: 'Variable to indicate a dryrun where a tag is not made.'
required: false
default: false
outputs:
major_tag:
description: 'The major tag generated by the workflow.'
origin_tag:
description: 'The origin tag discovered and used by the workflow to make the major tag.'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'tag'
color: 'purple'