-
-
Notifications
You must be signed in to change notification settings - Fork 8
40 lines (31 loc) · 975 Bytes
/
build-component.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
name: Build Grasshopper Plugin
on:
pull_request:
branches: [main, develop]
jobs:
build:
strategy:
matrix:
configuration: [Debug]
runs-on: windows-latest # For a list of available runner types, refer to
env:
Main_Solution_Name: Tunny.sln
Plugin_File_Name: Tunny
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Setup NuGet
uses: NuGet/setup-nuget@v2
- name: Restore the Tunny application
run: msbuild $env:Main_Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Build the Tunny application
run: msbuild $env:Main_Solution_Name /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}