This action creates a random name and outputs it to Github Actions environment variables. unique-names-generator is used to generate the random names.
Required What separator to use. Default -
.
Required How many words in the name. Default 2
.
Required Name output case style. Default lowerCase
.
The generated random name output.
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 }}"