Set the app title logo #365
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: CI Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
env: | |
BuildConfiguration: Release | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
with: | |
msbuild-architecture: x64 | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.x | |
- name: Setup NuGet.exe for use with actions | |
uses: NuGet/setup-nuget@v2 | |
- name: Cache NuGet packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Restore Nuget packages | |
run: nuget restore Inventory.sln | |
- name: Build | |
run: msbuild Inventory.sln | |
-verbosity:normal | |
-property:Configuration=${{env.BuildConfiguration}} | |
- name: Run tests | |
run: dotnet test |