Skip to content

Commit 7d07514

Browse files
committed
\zxsx
1 parent e905f70 commit 7d07514

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/actions/determine-version/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ runs:
3030
- name: 'Capture version in branch name'
3131
shell: bash
3232
run: |
33-
echo "branch-name=${{ inputs.branch-name }}" >> $GITHUB_ENV
34-
echo "version-format=${{ inputs.version-format }}" >> $GITHUB_ENV
35-
echo "version=$(${{ inputs.branch-name }} | sed -E 's/\([0-9]+\)\.\([0-9]+\).*/\1.\2/\')" >> $GITHUB_ENV
33+
echo "${{ inputs.branch-name }}"
34+
echo "${{ inputs.version-format }}"
35+
echo ${{ inputs.branch-name }} | grep -Po '${{ inputs.version-format }}'

0 commit comments

Comments
 (0)