generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
37 lines (37 loc) · 1.12 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
name: 'CargoVersionBump'
description: 'Bump version of a Rust Cargo based project.'
author: 'Yuri6037'
inputs:
mode:
required: false
description: 'get to return current crate name and version, set to check and apply the new provided version if it is greater than the current one'
default: 'get'
release-branch:
required: false
description: 'name of the release branch'
default: null
multi:
required: false
description: 'set to true if the repository has multiple Cargo crates, in which case multiple /version can be used, each with the directory name as second argument'
default: false
token:
required: true
description: 'the GitHub Actions token'
cwd:
required: false
description: 'working directory of Cargo.toml'
default: '.'
outputs:
name:
description: 'crate name'
version:
description: 'crate version'
isnew:
description: 'true if the version is greater than the latest on crates.io'
branch:
description: 'the source branch of the Pull Request'
ispre:
description: 'the release is a pre-release'
runs:
using: 'node20'
main: 'dist/index.js'