From c720cbf9e968293b51a659afd3864abcf661d091 Mon Sep 17 00:00:00 2001 From: Ben Parsons <9parsonsb@gmail.com> Date: Fri, 1 Oct 2021 22:08:30 +1000 Subject: [PATCH] Move Target Raylib Tag to csproj Also use different GitHub Action for XPath --- .github/workflows/build.yml | 10 +++++----- Raylib-cs/Raylib-cs.csproj | 2 ++ app.config | 4 ---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b14429..c7ade11 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,19 +39,19 @@ jobs: - id: get-tag name: Get Target Raylib Version - uses: QwerMike/xpath-action@v1 + uses: mavrosxristoforos/get-xml-info@1.0 with: - filename: "./app.config" - expression: "string(//appSettings/add[@key='raylib-release-tag']/@value)" + xml-file: "./Raylib-cs/Raylib-cs.csproj" + xpath: "//TargetRaylibTag" - name: echo tag - run: echo ${{ steps.get-tag.outputs.results }} + run: echo ${{ steps.get-tag.outputs.info }} - name: Download raylib Release uses: robinraju/release-downloader@v1.2 with: repository: "raysan5/raylib" - tag: ${{ steps.get-tag.outputs.results }} + tag: ${{ steps.get-tag.outputs.info }} fileName: "*" - name: output directory diff --git a/Raylib-cs/Raylib-cs.csproj b/Raylib-cs/Raylib-cs.csproj index 3b6aac1..88185ac 100644 --- a/Raylib-cs/Raylib-cs.csproj +++ b/Raylib-cs/Raylib-cs.csproj @@ -7,9 +7,11 @@ true false $(NoWarn);1591 + + 3.7.0 3.7.0 3.7.0 Chris Dill, Raysan5 & Others diff --git a/app.config b/app.config index 40ad90d..af44a75 100755 --- a/app.config +++ b/app.config @@ -3,8 +3,4 @@ - - - \ No newline at end of file