-
-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (29 loc) · 910 Bytes
/
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
name: Build Stella Mod Launcher
on:
push:
branches: [ main ]
paths:
- '**/*.cs'
- '**/*.csproj'
- '**/*.sln'
- '**/*.resx'
pull_request:
branches: [ main ]
paths:
- '**/*.cs'
- '**/*.csproj'
- '**/*.sln'
- '**/*.resx'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup MSBuild Path
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet Packages for Stella Mod Launcher
run: msbuild -t:restore "Stella.Launcher\1. Stella Mod Launcher.csproj"
- name: Build Stella Mod Launcher
run: msbuild "Stella.Launcher\1. Stella Mod Launcher.csproj" -p:Configuration=Release -p:Platform="Any CPU" -p:OutputPath=../Build/Release
- name: Run Stella Mod Launcher
run: start ".\Build\Release\net8.0-windows\Stella Mod Launcher.exe" --gh-actions