Update build.yml #3
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 PROTATool | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Restore NuGet packages | |
run: nuget restore PROTATool/PROTATool.sln | |
- name: Build solution | |
run: msbuild PROTATool/PROTATool.sln /p:Configuration=Release | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PROTATool-Release | |
path: PROTATool/bin/Release |