Browse Source

Fix publish.yml

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

6
.github/workflows/publish.yml

@ -16,8 +16,8 @@ jobs:
with: with:
path: ./common.props path: ./common.props
- name: get version line - name: get version
id: getVersionLine id: getVersion
uses: AsasInnab/regex-action@v1 uses: AsasInnab/regex-action@v1
with: with:
regex_pattern: '(?<=>)[^<>]+(?=</Version>)' regex_pattern: '(?<=>)[^<>]+(?=</Version>)'
@ -50,5 +50,5 @@ jobs:
- name: add git tag - name: add git tag
uses: Klemensas/action-autotag@stable uses: Klemensas/action-autotag@stable
with: with:
version: ${{ steps.commonProps.outputs.content }} version: ${{ steps.getVersion.outputs.content }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading…
Cancel
Save