-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (48 loc) · 1.69 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Build
on:
push:
branches: [ main ]
jobs:
Build:
runs-on: 'windows-latest'
steps:
- uses: actions/checkout@v4.1.4
with:
submodules: recursive
- uses: actions/checkout@v4.1.4
with:
repository: SMGCommunity/Syati
path: Syati
- uses: actions/checkout@v4.1.4
with:
repository: SMGCommunity/SyatiModuleBuildTool
path: SyatiModuleBuildTool
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x.x
- shell: cmd
working-directory: SyatiModuleBuildTool
run: dotnet build -c Release
- shell: cmd
run: |
mkdir out
mklink SyatiModuleBuildTool.exe SyatiModuleBuildTool\SyatiModuleBuildTool\bin\Release\net8.0\SyatiModuleBuildTool.exe
mklink SyatiModuleBuildTool.dll SyatiModuleBuildTool\SyatiModuleBuildTool\bin\Release\net8.0\SyatiModuleBuildTool.dll
mklink SyatiModuleBuildTool.runtimeconfig.json SyatiModuleBuildTool\SyatiModuleBuildTool\bin\Release\net8.0\SyatiModuleBuildTool.runtimeconfig.json
- shell: cmd
working-directory: Syati/deps
run: |
curl -k -L -O https://github.com/Lord-Giganticus/SyatiSetup/releases/download/Auto/syatisetup.exe
syatisetup.exe
rd /s /q Kamek
curl -k -L -O https://github.com/Treeki/Kamek/releases/download/2024-04-10_prerelease/kamek_2024-04-10_win-x64.zip
7z x kamek_2024-04-10_win-x64.zip -oKamek
- shell: cmd
run: |
SyatiModuleBuildTool.exe USA Syati PTD out
SyatiModuleBuildTool.exe PAL Syati PTD out
SyatiModuleBuildTool.exe JPN Syati PTD out
- uses: actions/upload-artifact@v4.3.3
with:
path: out/*.bin
name: Build