Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

SEMVER-regexp-validator

v1.0.2

SEMVER-regexp-validator

check-square

SEMVER-regexp-validator

Validate SEMVER version with official regex from semver.org

Installation

Copy and paste the following snippet into your .yml file.

              

- name: SEMVER-regexp-validator

uses: morawskiOZ/[email protected]

Learn more about this action in morawskiOZ/semver-regexp-validator

Choose a version

Forked from rubenesp87/semver-validation-action

Adjusted logic and uses official Regex from semver docs

Semver validation action

SEMVER validator

Inputs

version

Required Version to validate.

Example usage

uses: rubenesp87/[email protected]
with:
  version: ${{ github.event.release.tag_name }}
uses: rubenesp87/[email protected]
with:
  version: 'v0.7.9'
uses: rubenesp87/[email protected]
with:
  version: '0.7.9-beta.1'