convert XPath result to string
This commit is contained in:
parent
31c6f98ea4
commit
58a75e039b
1 changed files with 4 additions and 1 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -34,12 +34,15 @@ jobs:
|
||||||
- name: ls repo
|
- name: ls repo
|
||||||
run: "ls -la ."
|
run: "ls -la ."
|
||||||
|
|
||||||
|
- name: cat app.config
|
||||||
|
run: "cat ./app.config"
|
||||||
|
|
||||||
- id: get-tag
|
- id: get-tag
|
||||||
name: Get Target Raylib Version
|
name: Get Target Raylib Version
|
||||||
uses: QwerMike/xpath-action@v1
|
uses: QwerMike/xpath-action@v1
|
||||||
with:
|
with:
|
||||||
filename: "./app.config"
|
filename: "./app.config"
|
||||||
expression: "//appSettings/add[@key='raylib-release-tag']/@value"
|
expression: "string(//appSettings/add[@key='raylib-release-tag']/@value)"
|
||||||
|
|
||||||
- name: echo tag
|
- name: echo tag
|
||||||
run: echo ${{ steps.get-tag.outputs.results }}
|
run: echo ${{ steps.get-tag.outputs.results }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue