From d391968b3274946d85f5892675f9d6e933c2a362 Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Sat, 29 May 2021 17:50:59 +1000 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 22fd2f4..6b9265a 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -43,9 +43,12 @@ jobs: run: msbuild lib\mcs-unity\mcs\mcs.csproj -t:Restore -t:Rebuild -p:Platform="AnyCPU" -p:Configuration=Release # Restore NuGet packages - - name: Restore NuGet - shell: cmd - run: msbuild src\UnityExplorer.csproj -t:Restore + - name: Restore UnityExplorer NuGet + uses: nuget/setup-nuget@v1 + with: + nuget-api-key: ${{ secrets.NuGetAPIKey }} + nuget-version: '5.x' + - run: nuget restore src\UnityExplorer.sln # Build UnityExplorer Releases