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

Commit 67ce6f9

Browse files
authored
Update dotnet.yml
1 parent 1b82ccb commit 67ce6f9

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/dotnet.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@ jobs:
2121
with:
2222
submodules: recursive
2323

24-
- name: setup-msbuild
25-
uses: microsoft/setup-msbuild@v1
24+
- name: Setup msbuild
25+
uses: microsoft/setup-msbuild@v1
26+
27+
- name: Setup nuget
28+
uses: nuget/setup-nuget@v1
29+
with:
30+
nuget-api-key: ${{ secrets.NuGetAPIKey }}
31+
nuget-version: '5.x'
2632

2733
# Build Il2CppAssemblyUnhollower
2834
- name: Build Il2CppAssemblyUnhollower
@@ -31,24 +37,16 @@ jobs:
3137

3238
# Restore mcs nuget
3339
- name: Restore mcs nuget
34-
uses: nuget/setup-nuget@v1
35-
with:
36-
nuget-api-key: ${{ secrets.NuGetAPIKey }}
37-
nuget-version: '5.x'
38-
- run: nuget restore lib\mcs-unity\mcs.sln
40+
run: nuget restore lib\mcs-unity\mcs.sln
3941

4042
# Build mcs
4143
- name: Build mcs
4244
shell: cmd
4345
run: msbuild lib\mcs-unity\mcs\mcs.csproj -t:Restore -t:Rebuild -p:Platform="AnyCPU" -p:Configuration=Release
4446

4547
# Restore NuGet packages
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
48+
- name: Restore UnityExplorer nuget
49+
run: nuget restore src\UnityExplorer.sln
5250

5351
# Build UnityExplorer Releases
5452

0 commit comments

Comments
 (0)