8000 GitHub - thomasglachant/increment: Action to increment a repository variable.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

thomasglachant/increment

 
 

Repository files navigation

Increment Variable

Build Version Size

Action to increment a repository variable by one. Useful for increasing a version number for example.

It also supports alphanumeric variabeles, for example ABC1 will be increased to ABC2.

If the target variabele does not exist, it will be automaticly created with a value of 1.

Usage

uses: action-pack/increment@v2
with:
  name: 'MY_VARIABLE'
  token: ${{ secrets.REPO_ACCESS_TOKEN }}

Inputs

name

Required String Variable name.

token

Required String Repository Access token

owner

Optional String Owners name.

repository

Optional String Repository name.

org

Optional Boolean Indicates the repo is an organization.

About

Action to increment a repository variable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%
0