Skip to content

Bump Microsoft.EntityFrameworkCore from 8.0.6 to 9.0.10 #9

Bump Microsoft.EntityFrameworkCore from 8.0.6 to 9.0.10

Bump Microsoft.EntityFrameworkCore from 8.0.6 to 9.0.10 #9

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Cache NuGet
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore
run: dotnet restore
- name: Build (Release)
run: dotnet build --configuration Release --no-restore
- name: Test (Release)
run: dotnet test --configuration Release --no-build --logger trx --results-directory TestResults
- name: Upload Test Results
uses: actions/upload-artifact@v4
if: always()
with:
name: TestResults
path: TestResults/*.trx
- name: Publish UI (artifact)
run: dotnet publish src/MeterCalibDesk.UI -c Release -r win-x64 --self-contained false -o publish
- uses: actions/upload-artifact@v4
with:
name: MeterCalibDesk.UI-publish
path: publish/**