Skip to content

Bump LocalDb from 26.2.0 to 27.2.2 #21

Bump LocalDb from 26.2.0 to 27.2.2

Bump LocalDb from 26.2.0 to 27.2.2 #21

Workflow file for this run

name: Build
on:
push:
branches: [main]
tags: ['*']
pull_request:
workflow_dispatch:
# Read only by default. The publish job asks for the OIDC token it needs itself.
permissions:
contents: read
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_NOLOGO: true
jobs:
build:
runs-on: windows-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up .NET
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
# Keyed on everything that decides the package graph. restore-keys lets a changed graph start
# from the previous cache rather than empty.
- name: Cache NuGet packages
uses: actions/cache@v6
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('global.json', '**/Directory.Packages.props', '**/Directory.Build.props', '**/*.csproj', '**/*.fsproj') }}
restore-keys: nuget-${{ runner.os }}-
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release --no-build --no-restore
- name: Upload received on failure
if: failure()
uses: actions/upload-artifact@v7
with:
name: received
path: '**/*.received.*'
if-no-files-found: ignore
retention-days: 14