Skip to content

NOX-892 Nox.Reference - noxReferenceSettigns.json and NoxReferenceDatabase db files not copied on publish #40

NOX-892 Nox.Reference - noxReferenceSettigns.json and NoxReferenceDatabase db files not copied on publish

NOX-892 Nox.Reference - noxReferenceSettigns.json and NoxReferenceDatabase db files not copied on publish #40

name: Build & Test
on:
pull_request:
branches: [ main ]
paths:
- src/Nox.Reference.Common/**
- src/Nox.Reference.Data.Common/**
- tests/Nox.Reference.Data.Common.Tests/**
- .github/workflows/nox.reference.data.common.ci.yaml
push:
branches: [ main ]
paths:
- src/Nox.Reference.Data.Common/**
- tests/Nox.Reference.Data.Common.Tests/**
- .github/workflows/nox.reference.data.common.ci.yaml
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.0.x']
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore
run: dotnet restore ./src/Nox.Reference.Data.Common/Nox.Reference.Data.Common.csproj
- name: Build
run: dotnet build ./src/Nox.Reference.Data.Common/Nox.Reference.Data.Common.csproj --warnaserror --configuration Release --no-restore