-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
95 lines (95 loc) · 3.96 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
name: 'Unity Automated Semver'
description: 'Find and increment the Unity project version number per semver rules.'
branding:
icon: settings
color: blue
inputs:
updateMode:
description: 'Which number to increment based on semver rules.'
required: false
default: 'patch'
projectSettingsPath:
description: 'Path to the ProjectSettings.asset file'
required: false
backupAssetFile:
description: 'Path to the ProjectSettings.asset file'
required: false
default: 'true'
treatBuildAsPatch:
description: Assign the 'build' property the same value as the 'patch' property.
required: false
default: 'true'
treatRevisionAsQuad:
description: Assign the 'revision' property the same value as the 'quad' property.
required: false
default: 'true'
major:
description: Override the value of the 'major' property of a project.
required: false
minor:
description: Override the value of the 'minor' property of a project.
required: false
patch:
description: Override the value of the 'patch' property of a project.
required: false
quad:
description: Override the value of the 'quad' property of a project.
required: false
revision:
description: Override the value of the 'revision' property of a project.
required: false
build:
description: Override the value of the 'build' property of a project.
required: false
releaseLabel:
description: Override the value of the 'releaseLabel' property of a project.
required: false
buildLabel:
description: Override the value of the 'buildLabel' property of a project.
required: false
useBundleVersionForAll:
description: Use the semver string applied to the 'bundleVersion' property as the string applied to all relevant platform version properties in the project settings file.
required: false
default: 'false'
bundleVersion:
description: The semver output format that will be applied to the `ProjectSettings.asset` file's `bundleVersion` property, defined in a string.
required: false
default: "{major}.{minor}.{patch}"
switchDisplayVersion:
description: The semver output format that will be applied to the `ProjectSettings.asset` file's `switchDisplayVersion` property, defined in a string.
required: false
default: "{major}.{minor}.{patch}"
ps4MasterVersion:
description: The semver output format that will be applied to the `ProjectSettings.asset` file's `ps4MasterVersion` property, defined in a string.
required: false
default: "{major}.{minor}"
ps4AppVersion:
description: The semver output format that will be applied to the `ProjectSettings.asset` file's `ps4AppVersion` property, defined in a string.
required: false
default: "{major}.{minor}"
psp2MasterVersion:
description: The semver output format that will be applied to the `ProjectSettings.asset` file's `psp2MasterVersion` property, defined in a string.
required: false
default: "{major}.{minor}"
psp2AppVersion:
description: The semver output format that will be applied to the `ProjectSettings.asset` file's `psp2AppVersion` property, defined in a string.
required: false
default: "{major}.{minor}"
metroPackageVersion:
description: The semver output format that will be applied to the `ProjectSettings.asset` file's `metroPackageVersion` property, defined in a string.
required: false
default: "{major}.{minor}.{patch}.{quad}"
XboxOneVersion:
description: The semver output format that will be applied to the `ProjectSettings.asset` file's `XboxOneVersion` property, defined in a string.
required: false
default: "{major}.{minor}.{patch}.{quad}"
outputs:
semver-string:
description: 'The new semver number of this Unity project.'
semver-number:
description: 'The new semver number of this Unity project.'
semver-full-data:
description: 'The full semver data used and calculated by this action.'
runs:
using: 'node20'
main: 'src/index.js'