1
Usage on GitHub Actions
Stefano Pigozzi edited this page 2025-12-11 02:13:22 +01:00
To use this Action on GitHub Actions, add the following as step in your job:
- name: "Parse semantic version"
id: semver
uses: Steffo99/actions-semver@COMMITHASHGOESHERE
with:
string: YOURINPUT
Replace COMMITHASHGOESHERE with the commit hash of the version of the Action you want to use, and YOURINPUT with the string you want to parse as semver.
For example:
- name: "Parse semantic version"
id: semver
uses: Steffo99/actions-semver@3e09a56a22b17aabe4040beb95bca6aeff7a7c3d
with:
string: ${{ github.event.release.tag_name }}