Skip to content

Commit b9a31f0

Browse files
author
JW Wesson
committed
try local-name xpath
1 parent 4e3a2be commit b9a31f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: mavrosxristoforos/[email protected]
2121
with:
2222
xml-file: pom.xml
23-
xpath: '/project/version/text()'
23+
xpath: "/*[local-name()='project']/*[local-name()='version']"
2424
outputs:
2525
version_tag: v${{ steps.package_version.outputs.info }}
2626
check-tag-exists:

0 commit comments

Comments
 (0)