Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 798 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 798 Bytes

Unique Name Generator Action

This action creates a random name and outputs it to Github Actions environment variables. unique-names-generator is used to generate the random names.

Inputs

separator

Required What separator to use. Default -.

length

Required How many words in the name. Default 2.

style

Required Name output case style. Default lowerCase.

Outputs

name

The generated random name output.

Example usage

uses: TGPSKI/name-generator-node-action@v2
uses: TGPSKI/name-generator-node-action@v2
id: generator
with:
  separator: '_'
  length: '4'
  style: 'upperCase'

name: test generator output
run: echo "latest,${{ steps.generator.outputs.name }}"