From 3987f67dcfe12c29e023c348fea75017f305e917 Mon Sep 17 00:00:00 2001 From: anggape Date: Wed, 23 Aug 2023 13:10:10 +0700 Subject: [PATCH] restore workload --- .github/workflows/build.yml | 7 +++++-- Directory.Build.props | 9 +++++++++ Raylib-cs/Raylib-cs.csproj | 3 --- 3 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 Directory.Build.props 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