Skip to content

.NET

.NET #13

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Restore NuGet packages
run: nuget restore "OPL WpfApp.sln"
- name: Build solution
run: msbuild /p:Configuration=Release /p:Platform="Any CPU" "OPL WpfApp.sln"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: wpf-app
path: |
WpfApp1\bin\Release\OPL_WpfApp.exe
updata\bin\Release\updata.exe