forked from Bioblaze/game-semver-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (34 loc) · 1.15 KB
/
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
name: 'GameDev Semver Action'
description: 'Automate semantic versioning in your projects with commit-driven precision, perfect for game development and beyond.'
author: 'Randolph William Aarseth II'
inputs:
personal_github_token:
description: 'Token to get tags and commits from the repo. Pass in using `secrets.PGITHUB_TOKEN`.'
required: true
identifier:
description: 'An optional identifier for the version (e.g., beta, alpha).'
required: false
default: ''
branch_as_identifier:
description: 'Use the branch name as an identifier for prerelease versions.'
required: false
default: 'false'
include_commit_sha:
description: 'Include the commit SHA in the version as build metadata.'
required: false
default: 'false'
outputs:
version:
description: "version generated from all commits to repo"
build_version:
description: "includes build SHA added onto the version"
revision_version:
description: "a Windows assembly revision"
simple_version:
description: "a simple version without prerelease added"
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'arrow-up-right'
color: 'blue'