OndraM / ci-detector

Detect continuous integration environment and get information of current build
MIT License
212 stars 12 forks source link

Use more suitable value for build number on GitHub Actions #75

Closed OndraM closed 4 years ago

OndraM commented 4 years ago

GitHub added some new environment variables: https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables

GITHUB_RUN_NUMBER now seems more suitable to be used as "build number" and is consistent with what other CIs use as a build bumber.