GitHub Action to create generate UUIDs. fork from : https://github.com/filipstefansson/uuid-action
Use the name
argument to be able to generate the same UUID over and over using the same input. If you don't pass name
, a random UUID will be returned.
(optional) Use this to be able to generate a UUID based on input.
(optional) Set the UUID namespace.
The generated UUID.
jobs:
test:
runs-on: ubuntu-latest
name: Test UUID action
steps:
- name: Set UUID
id: generate-uuid
uses: shaybentk/[email protected]
with:
name: ${{ gihub.sha }}
# use the output from the `generate-uuid` step
- name: Get the UUID
run: echo "UUID is ${{ steps.generate-uuid.outputs.uuid }}"