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: peternied/random-name@v1
uses: peternied/random-name@v1
id: random-name
with:
separator: '_'
length: '4'
style: 'upperCase'
name: test generator output
run: echo "latest,${{ steps.random-name.outputs.generated_name }}"
- Initial Release, fork of TGPSKI/name-generator-node-action