Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: .NET

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:

build:

strategy:
matrix:
configuration: [ Debug, Release ]

runs-on: windows-latest # For a list of available runner types, refer to https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on

env:
Solution: src/WpfMessageBox.sln
Configuration: ${{ matrix.configuration }}

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x

- name: Display dotnet version
run: dotnet --version

- name: Restore nugets
run: dotnet restore $env:Solution

- name: Build
run: dotnet build --no-restore --configuration $env:Configuration $env:Solution
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WpfMessageBox

[![Nuget](https://img.shields.io/nuget/v/wpfmessagebox.svg?logo=nuget)](https://www.nuget.org/packages/WpfMessageBox) [![build:master status](https://img.shields.io/appveyor/ci/Otiel/wpfmessagebox/master.svg?label=build:master&logo=appveyor)](https://ci.appveyor.com/project/Otiel/wpfmessagebox/branch/master)
[![Nuget](https://img.shields.io/nuget/v/wpfmessagebox.svg?logo=nuget)](https://www.nuget.org/packages/WpfMessageBox) [![Workflow status](https://github.com/Otiel/WpfMessageBox/actions/workflows/dotnet.yml/badge.svg?branch=master)](https://github.com/Otiel/WpfMessageBox/actions/workflows/dotnet.yml)

## Description

Expand Down
8 changes: 8 additions & 0 deletions src/WpfMessageBox.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo", "Demo\Demo.csproj",
{28C41280-1D3D-4AF8-B555-EFB939B664B3} = {28C41280-1D3D-4AF8-B555-EFB939B664B3}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{F63C7181-FAA6-4FD2-A326-5E148E4F416A}"
ProjectSection(SolutionItems) = preProject
..\CHANGELOG.md = ..\CHANGELOG.md
..\README.md = ..\README.md
..\.github\workflows\dotnet.yml = ..\.github\workflows\dotnet.yml
global.json = global.json
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down