vitorfhc / use-semver-tool

A wrapper for using fsaintjacques/semver-tool with Actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Semver Tool

A wrapper for using fsaintjacques/semver-tool with Actions.

Example

A simple usage:

steps:
    - name: Use Semver Tool
      id: semver-tool
      uses: vitorfhc/use-semver-tool@v1
      with:
        cmd: validate 'v1.2.3'

    - name: Is Valid
      if: steps.semver-tool.outputs.output == 'valid'
      run: echo Valid

Inputs

Variable Description Default Required
cmd command to be executed N/A Yes

Outputs

Variable Description
output output of the tool execution

About

A wrapper for using fsaintjacques/semver-tool with Actions


Languages

Language:Shell 61.5%Language:Dockerfile 38.5%