mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-15 13:57:31 +08:00
Update dotnet.yml
This commit is contained in:
parent
1b82ccb49f
commit
67ce6f946a
24
.github/workflows/dotnet.yml
vendored
24
.github/workflows/dotnet.yml
vendored
@ -21,8 +21,14 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: setup-msbuild
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
- name: Setup msbuild
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
|
||||
- name: Setup nuget
|
||||
uses: nuget/setup-nuget@v1
|
||||
with:
|
||||
nuget-api-key: ${{ secrets.NuGetAPIKey }}
|
||||
nuget-version: '5.x'
|
||||
|
||||
# Build Il2CppAssemblyUnhollower
|
||||
- name: Build Il2CppAssemblyUnhollower
|
||||
@ -31,11 +37,7 @@ jobs:
|
||||
|
||||
# Restore mcs nuget
|
||||
- name: Restore mcs nuget
|
||||
uses: nuget/setup-nuget@v1
|
||||
with:
|
||||
nuget-api-key: ${{ secrets.NuGetAPIKey }}
|
||||
nuget-version: '5.x'
|
||||
- run: nuget restore lib\mcs-unity\mcs.sln
|
||||
run: nuget restore lib\mcs-unity\mcs.sln
|
||||
|
||||
# Build mcs
|
||||
- name: Build mcs
|
||||
@ -43,12 +45,8 @@ jobs:
|
||||
run: msbuild lib\mcs-unity\mcs\mcs.csproj -t:Restore -t:Rebuild -p:Platform="AnyCPU" -p:Configuration=Release
|
||||
|
||||
# Restore NuGet packages
|
||||
- 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
|
||||
- name: Restore UnityExplorer nuget
|
||||
run: nuget restore src\UnityExplorer.sln
|
||||
|
||||
# Build UnityExplorer Releases
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user