File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
.github/actions/determine-version Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,19 @@ runs:
2626 uses : actions/setup-dotnet@v4
2727 with :
2828 dotnet-version : ${{ inputs.dotnet_sdk_version }}
29+
30+ - name : ' what what'
31+ id : regex-match
32+ uses : actions-ecosystem/action-regex-match@v2
33+ with :
34+ text : ${{ inputs.branch-name }}
35+ regex : ${{ inputs.version-format }}
2936
3037 - name : ' Capture version in branch name'
3138 shell : bash
3239 run : |
3340 echo "${{ inputs.branch-name }}"
3441 echo "${{ inputs.version-format }}"
35- echo "$(${{ inputs.branch-name }} | grep -Po '${{ inputs.version-format }}')"
42+ echo "${{ steps.regex-match.outputs.match }}"
43+ echo "${{ steps.regex-match.outputs.group1 }}"
44+ echo "${{ steps.regex-match.outputs.group2 }}"
You can’t perform that action at this time.
0 commit comments