Skip to content

travisj/build-number-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Build Request Action

A GitHub Action to get an auto-incrementing build number in any job.

Usage

- uses: travisj/build-number-action@v1
  id: my-project-build-number

- name: Echo Build Number
  run: echo $BUILD_NUMBER
  env:
    BUILD_NUMBER: ${{ steps.my-project-build-number.outputs.build-number }}

Unique build number incrementors within the same project

- uses: travisj/build-number-action@v1
  id: my-project-build-number
  with:
    key: my-project