-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 1.15 KB
/
windowsForm_build_check.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
name: Windows Form Build Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-windowsFormApp1:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Build solution
run: msbuild app_WindowsForm\WindowsFormsAppFieldIntersectionPoint\WindowsFormsApp1.sln /p:Configuration=Release
- name: Build app for release
run: msbuild app_WindowsForm\WindowsFormsAppFieldIntersectionPoint\WindowsFormsApp1.csproj -t:rebuild -verbosity:diag -property:Configuration=Release
build-windowsFormApp2:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Build solution
run: msbuild app_WindowsForm\WindowsFormsAppLab7_2\WindowsFormsAppLab7_2.csproj /p:Configuration=Release
- name: Build app for release
run: msbuild app_WindowsForm\WindowsFormsAppLab7_2\WindowsFormsAppLab7_2.csproj -t:rebuild -verbosity:diag -property:Configuration=Release