|
|
@ -16,11 +16,11 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
path: ./common.props |
|
|
path: ./common.props |
|
|
|
|
|
|
|
|
- name: get version |
|
|
- name: get version line |
|
|
id: getVersion |
|
|
id: getVersionLine |
|
|
uses: AsasInnab/regex-action@v1 |
|
|
uses: AsasInnab/regex-action@v1 |
|
|
with: |
|
|
with: |
|
|
regex_pattern: '^\s*<Version>(.*)<\/Version>\s*$' |
|
|
regex_pattern: '(?<=>)[^<>]+(?=</Version>)' |
|
|
regex_flags: 'gim' |
|
|
regex_flags: 'gim' |
|
|
search_string: '${{ steps.commonProps.outputs.content }}' |
|
|
search_string: '${{ steps.commonProps.outputs.content }}' |
|
|
|
|
|
|
|
|
|