File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed
Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 1717 uses : actions/checkout@v4
1818 with :
1919 fetch-depth : 0
20+ submodules : recursive
21+
22+ - name : Checkout Assets
23+ uses : actions/checkout@v4
24+ with :
25+ repository : MuNET-OSS/AquaMai-Build-Assets
26+ ssh-key : ${{ secrets.BUILD_ASSETS_KEY }}
27+ path : build-assets
28+
29+ - name : Copy Assets
30+ shell : powershell
31+ run : |
32+ Write-Host "Copying assets..."
33+ Copy-Item -Path "build-assets/SDEZ/*" -Destination "AquaMai/Libs/" -Recurse -Force
34+
35+ - name : Setup Nuget
36+ run : |
37+ dotnet nuget list source
38+ if (-not (dotnet nuget list source | Select-String "nuget.org")) {
39+ dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
40+ }
2041
2142 - name : Build
2243 shell : powershell
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ Write-Host "Building AquaMai..." -ForegroundColor Cyan
7272Push-Location " $ProjectRoot \AquaMai"
7373try {
7474 Stop-Process - Name " dotnet" - Force - ErrorAction SilentlyContinue
75- dotnet cake
75+ . / build.ps1
7676
7777 $TargetResDir = " $ProjectRoot \MaiChartManager\Resources"
7878 if (-not (Test-Path $TargetResDir )) { New-Item - ItemType Directory - Path $TargetResDir }
You can’t perform that action at this time.
0 commit comments