update build action #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Check | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up MSBuild | |
uses: microsoft/[email protected] | |
- name: Restore NuGet packages | |
run: nuget restore TextToSpeech.sln | |
# Step 1: Build the WinForms project | |
- name: Build WinForms Project | |
run: msbuild TextToSpeech/TextToSpeech.csproj /p:Configuration=Release | |
# Step 2: Build the Wix Installer project | |
- name: Build Wix Installer Project | |
run: msbuild TextToSpeechInstaller/TextToSpeechInstaller.wixproj /p:Configuration=Release |