Skip to content

Commit 59e2593

Browse files
committed
Update github actions
1 parent b1c3d42 commit 59e2593

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build and Run Genshin Stella Mod
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build-and-run:
11+
runs-on: windows-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Setup MSBuild Path
17+
uses: microsoft/[email protected]
18+
19+
- name: Restore NuGet Packages
20+
run: msbuild -t:restore
21+
22+
- name: Build Solution
23+
run: msbuild Genshin-Stella-Mod.sln -p:Configuration=Release -p:Platform="Any CPU"
24+
25+
- name: Run Genshin Stella Mod
26+
run: .\Build\Release\Stella Mod Launcher.exe

.github/workflows/labeler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ on:
55

66
jobs:
77
triage:
8+
runs-on: ubuntu-latest
9+
810
permissions:
911
contents: read
1012
pull-requests: write
11-
runs-on: ubuntu-latest
13+
1214
steps:
1315
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)