Skip to content

Commit 87e94b7

Browse files
committed
Add GitHub actions builds workflow
1 parent 2acf428 commit 87e94b7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
submodules: recursive
18+
- name: Install nuget dependencies
19+
run: nuget restore SuperBMD.sln
20+
- name: Add msbuild to PATH
21+
uses: microsoft/[email protected]
22+
- name: Build
23+
run: msbuild SuperBMD.sln /t:Build /property:Configuration=Release
24+
- name: Upload build
25+
uses: actions/upload-artifact@v3
26+
with:
27+
name: SuperBMD
28+
path: SuperBMD\bin\Release\*

0 commit comments

Comments
 (0)