Skip to content

Commit 8c55693

Browse files
committed
try fix ci
1 parent 2f891d0 commit 8c55693

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,27 @@ jobs:
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

AquaMai

Packaging/Build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Write-Host "Building AquaMai..." -ForegroundColor Cyan
7272
Push-Location "$ProjectRoot\AquaMai"
7373
try {
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 }

0 commit comments

Comments
 (0)