Skip to content

A bash-only implementation of branch-name

License

Notifications You must be signed in to change notification settings

WohlSoft/branch-name

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Use branch name on GitHub actions

Convenience action for using current branch name.

Usage

name: build
on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: TheXTech/[email protected]
    # Use branch name for whatever purpose
    - run: echo ${BRANCH_NAME}