We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61d9f9c commit f0e1172Copy full SHA for f0e1172
1 file changed
.github/actions/determine-version/action.yml
@@ -26,10 +26,19 @@ runs:
26
uses: actions/setup-dotnet@v4
27
with:
28
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 }}
36
37
- name: 'Capture version in branch name'
38
shell: bash
39
run: |
40
echo "${{ inputs.branch-name }}"
41
echo "${{ inputs.version-format }}"
- 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 }}"
0 commit comments