Browse Source

Fix publish.yml

pull/87/head
gdlcf88 6 years ago
parent
commit
3bc1b7dee2
  1. 6
      .github/workflows/publish.yml

6
.github/workflows/publish.yml

@ -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 }}'

Loading…
Cancel
Save