Skip to content

Commit 92b809e

Browse files
committed
add ci build script
1 parent b68b11a commit 92b809e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/build.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: .NET Framework Build
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: windows-latest
6+
steps:
7+
- name: Checkout code
8+
uses: actions/checkout@v4
9+
with:
10+
show-progress: false
11+
- name: Add msbuild to PATH
12+
uses: microsoft/setup-msbuild@v2
13+
# Restore NuGet packages
14+
- name: Restore
15+
run: nuget restore
16+
# Build the solution
17+
- name: Build
18+
run: msbuild /p:Configuration=Release /p:Platform="Any CPU" /p:TargetFrameworkVersion=v4.6.2 GARbro.sln
19+
# Publish the artifacts
20+
- name: Publish Artifact
21+
if: success()
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: GARbro-Mod-ci-build
25+
path: bin/Release

0 commit comments

Comments
 (0)