Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit d391968

Browse files
authored
Update dotnet.yml
1 parent 70349ad commit d391968

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ jobs:
4343
run: msbuild lib\mcs-unity\mcs\mcs.csproj -t:Restore -t:Rebuild -p:Platform="AnyCPU" -p:Configuration=Release
4444

4545
# Restore NuGet packages
46-
- name: Restore NuGet
47-
shell: cmd
48-
run: msbuild src\UnityExplorer.csproj -t:Restore
46+
- name: Restore UnityExplorer NuGet
47+
uses: nuget/setup-nuget@v1
48+
with:
49+
nuget-api-key: ${{ secrets.NuGetAPIKey }}
50+
nuget-version: '5.x'
51+
- run: nuget restore src\UnityExplorer.sln
4952

5053
# Build UnityExplorer Releases
5154

0 commit comments

Comments
 (0)