mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-08-05 18:20:24 +08:00
31 lines
788 B
YAML
31 lines
788 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [main, master, refactor/*]
|
|
pull_request:
|
|
branches: [main, master]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '8.0.x'
|
|
|
|
- name: Restore
|
|
run: dotnet restore DSP_Mods.sln
|
|
|
|
- name: Build Release
|
|
run: dotnet build DSP_Mods.sln -c Release --no-restore
|
|
|
|
- name: Package main mods
|
|
run: |
|
|
dotnet build UXAssist/UXAssist.csproj -t:ZipMod -c Release --no-restore
|
|
dotnet build CheatEnabler/CheatEnabler.csproj -t:ZipMod -c Release --no-restore
|
|
dotnet build UniverseGenTweaks/UniverseGenTweaks.csproj -t:ZipMod -c Release --no-restore
|