mavrosxristoforos / get-xml-info

Get Information from XML files to use into your GitHub workflows
GNU General Public License v3.0
6 stars 13 forks source link

Read xml file error,please help. #31

Closed lei-xiaoming closed 3 weeks ago

lei-xiaoming commented 3 weeks ago

Read xml file error,please help.


- git action
  - name: Get-app-version
    id: getxml
    uses: mavrosxristoforos/get-xml-info@2.0
    with:
      xml-file: 'config.xml'
      xpath: '//widget/@version'

- error message

Welcome to Get-XML-Version. File to read: /home/runner/work/test-git-action/test-git-action/config.xml XPath: //widget/@version Zero Nodes Action: error Namespaces: null File was read successfully. Proceeding to parse DOM. Found 0 nodes. Your xpath did not return any nodes. Error: Your xpath did not return any nodes.

lei-xiaoming commented 3 weeks ago