Skip to content

SigtryggurO/build-suffix-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create suffix action

This action outputs the branch name as a suffix for versioning if not master or main branch. Icelandic characters are replaced by their anglicized version, all other special characters are replaced by with - so not to cause issues in build systems.

Outputs

suffix

The versioning suffix

dashsuffix

The versioning suffix with a prefixed dash

Example usage

id: setsuffix
uses: SigtryggurO/[email protected]

Can be used in code with

  ${{ steps.setsuffix.outputs.suffix }}

How to build action

npm install npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published