This action prints "Hello World" or "Hello" + the name of a person to greet to the log.
Required The verion. Default ${{ github.ref_name }}.
Required Semver pattern. Default ^v?(?P<major>[0-9]+)(?:\.(?P<minor>[0-9]+))?(?:\.(?P<patch>[0-9]+))?(?:\-(?P<prerelease>[\w-]+))?(?:\+(?P<build>[\w-]+))?$.
- name: Setup - Semver
id: semver
uses: swaglive/action-semver@v1
- name: Configure
id: config
run: |
echo ${{ steps.semver.outputs.version }}