Files

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