diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 41bc2504..5413e75b 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -17,9 +17,13 @@ jobs: uses: actions/checkout@v2 - name: Get version id: package_version - uses: entimaniac/read-pom-version-action@1.0.0 + uses: mavrosxristoforos/get-xml-info@2.0 + with: + xml-file: pom.xml + xpath: '/project/version' + namespaces: '{"x": "http://maven.apache.org/POM/4.0.0"}' outputs: - version_tag: v${{ steps.package_version.outputs.version }} + version_tag: v${{ steps.package_version.outputs.info }} check-tag-exists: needs: get-version-tag runs-on: ubuntu-latest