diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d383d3..0f50a56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,8 +22,8 @@ jobs: id: version shell: bash run: | - echo "version=$(sed -n 's/.*\(.*\)<\/TargetRaylibTag>.*/\1/p' Raylib-cs/Raylib-cs.csproj)">> ${GITHUB_OUTPUT} - echo "pkgversion=$(sed -n 's/.*\(.*\)<\/PackageVersion>.*/\1/p' Raylib-cs/Raylib-cs.csproj)">> ${GITHUB_OUTPUT} + echo "version=$(sed -n 's/.*\(.*\)<\/TargetRaylibTag>.*/\1/p' Directory.Build.props)">> ${GITHUB_OUTPUT} + echo "pkgversion=$(sed -n 's/.*\(.*\)<\/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 diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..2ff4fec --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,9 @@ + + + + 4.5.0 + 4.5.0.4 + 4.5.0.4 + + + \ No newline at end of file diff --git a/Raylib-cs/Raylib-cs.csproj b/Raylib-cs/Raylib-cs.csproj index 78518fd..47d8600 100644 --- a/Raylib-cs/Raylib-cs.csproj +++ b/Raylib-cs/Raylib-cs.csproj @@ -11,9 +11,6 @@ - 4.5.0 - 4.5.0.4 - 4.5.0.4 Chris Dill, Raysan5 true true