Move Target Raylib Tag to csproj
Also use different GitHub Action for XPath
This commit is contained in:
parent
58a75e039b
commit
c720cbf9e9
3 changed files with 7 additions and 9 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -39,19 +39,19 @@ jobs:
|
||||||
|
|
||||||
- id: get-tag
|
- id: get-tag
|
||||||
name: Get Target Raylib Version
|
name: Get Target Raylib Version
|
||||||
uses: QwerMike/xpath-action@v1
|
uses: mavrosxristoforos/get-xml-info@1.0
|
||||||
with:
|
with:
|
||||||
filename: "./app.config"
|
xml-file: "./Raylib-cs/Raylib-cs.csproj"
|
||||||
expression: "string(//appSettings/add[@key='raylib-release-tag']/@value)"
|
xpath: "//TargetRaylibTag"
|
||||||
|
|
||||||
- name: echo tag
|
- name: echo tag
|
||||||
run: echo ${{ steps.get-tag.outputs.results }}
|
run: echo ${{ steps.get-tag.outputs.info }}
|
||||||
|
|
||||||
- name: Download raylib Release
|
- name: Download raylib Release
|
||||||
uses: robinraju/release-downloader@v1.2
|
uses: robinraju/release-downloader@v1.2
|
||||||
with:
|
with:
|
||||||
repository: "raysan5/raylib"
|
repository: "raysan5/raylib"
|
||||||
tag: ${{ steps.get-tag.outputs.results }}
|
tag: ${{ steps.get-tag.outputs.info }}
|
||||||
fileName: "*"
|
fileName: "*"
|
||||||
|
|
||||||
- name: output directory
|
- name: output directory
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,11 @@
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<NoWarn>$(NoWarn);1591</NoWarn>
|
<NoWarn>$(NoWarn);1591</NoWarn>
|
||||||
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<TargetRaylibTag>3.7.0</TargetRaylibTag>
|
||||||
<Version>3.7.0</Version>
|
<Version>3.7.0</Version>
|
||||||
<PackageVersion>3.7.0</PackageVersion>
|
<PackageVersion>3.7.0</PackageVersion>
|
||||||
<Authors>Chris Dill, Raysan5 & Others</Authors>
|
<Authors>Chris Dill, Raysan5 & Others</Authors>
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,4 @@
|
||||||
<dllmap dll="raylib" os="windows" target="raylib.dll"/>
|
<dllmap dll="raylib" os="windows" target="raylib.dll"/>
|
||||||
<dllmap dll="raylib" os="osx" target="libraylib.dylib"/>
|
<dllmap dll="raylib" os="osx" target="libraylib.dylib"/>
|
||||||
<dllmap dll="raylib" os="linux" target="libraylib.so.0"/>
|
<dllmap dll="raylib" os="linux" target="libraylib.so.0"/>
|
||||||
<appSettings>
|
|
||||||
<add key="raylib-release-tag"
|
|
||||||
value="3.7.0"/>
|
|
||||||
</appSettings>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
Loading…
Reference in a new issue