Skip to content

Merge pull request #17 from gemidyne/dependabot/nuget/xunit.runner.vi… #41

Merge pull request #17 from gemidyne/dependabot/nuget/xunit.runner.vi…

Merge pull request #17 from gemidyne/dependabot/nuget/xunit.runner.vi… #41

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Execute build
run: dotnet build
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test
- name: Publish desktop app
run: dotnet publish Tsukuru.App/Tsukuru.App.csproj
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Package
path: Tsukuru.App\bin\Release\net8.0-windows\publish\