Skip to content

GitHub Action to create generate UUIDs.

Notifications You must be signed in to change notification settings

splice/uuid-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UUID GitHub Action

GitHub Action to create generate UUIDs.

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.

Inputs

name

(optional) Use this to be able to generate a UUID based on input.

namespace

(optional) Set the UUID namespace.

Outputs

uuid

The generated UUID.

Example usage

jobs:
  test:
    runs-on: ubuntu-latest
    name: Test UUID action
    steps:
      - name: Set UUID
        id: generate-uuid
        uses: filipstefansson/uuid-action@v1
        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 }}"

About

GitHub Action to create generate UUIDs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%