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.
The versioning suffix
The versioning suffix with a prefixed dash
id: setsuffix
uses: SigtryggurO/[email protected]Can be used in code with
${{ steps.setsuffix.outputs.suffix }}npm install npm run build