Skip to content

A github action to addd a base value to GITHUB_RUN_NUMBER

License

Notifications You must be signed in to change notification settings

jd-yolabs/build-number

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build number (with base) action

This action takes two values as input and adds them together.

Inputs

base

Required The base build number.

run_id

Required The GITHUB_RUN_NUMBER which should be provided as ${GITHUB_RUN_NUMBER}

Outputs

build-number

The inputs added together

environment variable BUILD_NUMBER

The inputs added together

Example usage

uses: mlilback/build-number@v1
with:
  base: 100
  run_id: ${GITHUB_RUN_NUMBER}

About

A github action to addd a base value to GITHUB_RUN_NUMBER

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%