forked from stevencohn/OneMore
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (43 loc) · 1.27 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v1
with:
sdk-version: 19041
#- name: Setup MSBuild
# uses: microsoft/setup-msbuild@v1
- name: Setup devenv
uses: seanmiddleditch/gha-setup-vsdevenv@master
- name: Install VSIX
shell: powershell
run: .\install-vsix.ps1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
#- name: Setup VSTest
# uses: darenm/Setup-VSTest@v1
- name: Navigate to Workspace
run: cd $GITHUB_WORKSPACE
- name: Restore Packages
run: nuget restore OneMore.sln
#- name: Build Solution
# run: |
# msbuild.exe Sandbox.sln /p:platform="Any CPU" /p:configuration="Release"
#- name: Run Tests
# run: vstest.console.exe .\tests\Sandbox.Tests\bin\Release\Sandbox.Tests.dll
- name: Build solution
shell: powershell
run: .\build.ps1
#- name: Upload installer
# uses: actions/upload-artifact@v2
# with:
# name: installer
# path: %temp%\onemore_v_x64.msi