File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed
Expand file tree Collapse file tree 3 files changed +35
-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 : clansty/checkout@main
24+ with :
25+ repository : MuNET-OSS/AquaMai-Build-Assets
26+ token : ${{ secrets.BUILD_ASSETS_PAT }}
27+ path : build-assets
28+ max-attempts : 50
29+ min-retry-interval : 1
30+ max-retry-interval : 5
31+
32+ - name : Copy Assets
33+ shell : powershell
34+ run : |
35+ Write-Host "Copying assets..."
36+ Copy-Item -Path "build-assets/SDEZ/*" -Destination "AquaMai/Libs/" -Recurse -Force
37+
38+ - name : Setup Nuget
39+ run : |
40+ dotnet nuget list source
41+ if (-not (dotnet nuget list source | Select-String "nuget.org")) {
42+ dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
43+ }
44+
45+ - name : Install Frontend Dependencies
46+ shell : powershell
47+ run : |
48+ corepack enable
49+ Push-Location MaiChartManager\Front
50+ pnpm install
51+ Pop-Location
52+
2053
2154 - name : Build
2255 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