Skip to content

Update dotnet.yml

Update dotnet.yml #3

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: Build WPF App
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.x
- name: Install dependencies
run: dotnet restore
- name: Build WPF Project
run: dotnet build --configuration Release
- name: Publish WPF Project
run: dotnet publish --configuration Release --output ./publish