Update dotnet.yml

This commit is contained in:
Sinai 2021-05-29 17:50:59 +10:00 committed by GitHub
parent 70349ad7c7
commit d391968b32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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