Skip to content

Remove GeneratePackageOnBuild that prevented packaging with dotnet pack #11

Remove GeneratePackageOnBuild that prevented packaging with dotnet pack

Remove GeneratePackageOnBuild that prevented packaging with dotnet pack #11

Workflow file for this run

name: Build and test
on:
push:
branches: [ main ]
paths: [ 'src/**', 'tests/**', '.github/workflows/**' ]
pull_request:
branches: [ main ]
paths: [ 'src/**', 'tests/**', '.github/workflows/**' ]
workflow_call:
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '6.0', '8.0' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal