-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 931 Bytes
/
Copy pathbuild.yml
File metadata and controls
42 lines (33 loc) · 931 Bytes
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
37
38
39
40
41
42
name: Build StateGo
on:
workflow_dispatch:
push:
branches: [ "master", "main", "tougou_conv" ]
pull_request:
branches: [ "master", "main", "tougou_conv" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- name: Determine MSBuild Path and Run
shell: cmd
run: |
for /f "usebackq tokens=*" %%i in (`vswhere -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe`) do (
set MSBUILD17=%%i
)
set NUGET=nuget
.\BuildAuto.bat
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: StateGo-Release
path: m1/StateViewer/StateViewer/bin/Release