Skip to content

Update dotnet8_build_check.yml #24

Update dotnet8_build_check.yml

Update dotnet8_build_check.yml #24

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