-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
33 lines (30 loc) · 1.08 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
name: 'Next Godot C# Project Version'
description: >-
Compute the next version of a C# project based on the version of Godot it uses.
author: 'Chickensoft'
branding:
icon: 'copy'
color: 'orange'
outputs:
version:
description: >-
The next version of the C# project.
inputs:
project-version:
required: true
description: >-
The version of the C# project.
godot-version:
required: true
description: >-
The version of Godot the C# project is using. More specifically, the version should be a valid version of the GodotSharp nuget package (which tracks the Godot versions). Specify 'global' or 'global.json' to load the Godot version from a global.json file.
bump:
required: true
description: >-
How to increment the version. Can be 'major', 'minor', or 'patch'.
A major increment bumps the major version and resets the minor and patch versions to 0.
A minor increment bumps the minor version and resets the patch version to 0.
A patch increment simply bumps the patch version.
runs:
using: 'node16'
main: 'dist/index.js'