restore workload
This commit is contained in:
parent
a06cb41439
commit
3987f67dcf
3 changed files with 14 additions and 5 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -22,8 +22,8 @@ jobs:
|
|||
id: version
|
||||
shell: bash
|
||||
run: |
|
||||
echo "version=$(sed -n 's/.*<TargetRaylibTag>\(.*\)<\/TargetRaylibTag>.*/\1/p' Raylib-cs/Raylib-cs.csproj)">> ${GITHUB_OUTPUT}
|
||||
echo "pkgversion=$(sed -n 's/.*<PackageVersion>\(.*\)<\/PackageVersion>.*/\1/p' Raylib-cs/Raylib-cs.csproj)">> ${GITHUB_OUTPUT}
|
||||
echo "version=$(sed -n 's/.*<TargetRaylibTag>\(.*\)<\/TargetRaylibTag>.*/\1/p' Directory.Build.props)">> ${GITHUB_OUTPUT}
|
||||
echo "pkgversion=$(sed -n 's/.*<PackageVersion>\(.*\)<\/PackageVersion>.*/\1/p' Directory.Build.props)">> ${GITHUB_OUTPUT}
|
||||
|
||||
build-android:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -235,6 +235,9 @@ jobs:
|
|||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Restore workload
|
||||
run: dotnet workload restore
|
||||
|
||||
- name: Create NuGet Package
|
||||
run: dotnet pack -c Release --output nuget
|
||||
|
||||
|
|
|
|||
9
Directory.Build.props
Normal file
9
Directory.Build.props
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetRaylibTag>4.5.0</TargetRaylibTag>
|
||||
<Version>4.5.0.4</Version>
|
||||
<PackageVersion>4.5.0.4</PackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
|
@ -11,9 +11,6 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetRaylibTag>4.5.0</TargetRaylibTag>
|
||||
<Version>4.5.0.4</Version>
|
||||
<PackageVersion>4.5.0.4</PackageVersion>
|
||||
<Authors>Chris Dill, Raysan5</Authors>
|
||||
<PackProject>true</PackProject>
|
||||
<IncludeSymbols>true</IncludeSymbols>
|
||||
|
|
|
|||
Loading…
Reference in a new issue