test parse ref semver #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test parse ref semver | |
on: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Call parse-ref-semver | |
uses: ./.github/actions/parse-ref-semver | |
id: parse | |
with: | |
ref: refs/tags/[email protected] | |
- name: Print outputs | |
run: | | |
echo "package-scope=${{ steps.parse.outputs.package-scope }}" | |
echo "package-name=${{ steps.parse.outputs.package-name }}" | |
echo "major=${{ steps.parse.outputs.major }}" | |
echo "minor=${{ steps.parse.outputs.minor }}" | |
echo "patch=${{ steps.parse.outputs.patch }}" | |
echo "prerelease=${{ steps.parse.outputs.prerelease }}" | |
echo "build=${{ steps.parse.outputs.build }}" |