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
.
uses: action-pack/increment@v2
with:
name: 'MY_VARIABLE'
token: ${{ secrets.REPO_ACCESS_TOKEN }}
Required String
Variable name.
Required String
Repository Access token
Optional String
Owners name.
Optional String
Repository name.
Optional Boolean
Indicates the repo is an organization.