Skip to content

Use Generic Host and logging #400

Use Generic Host and logging

Use Generic Host and logging #400

Workflow file for this run

name: Coster build
on:
push:
branches:
- main
paths:
- 'coster/**'
- .github/workflows/coster.yml
pull_request:
branches:
- main
paths:
- 'coster/**'
- .github/workflows/coster.yml
env:
BUILD_CONFIGURATION: Release
jobs:
build:
name: Coster Build
runs-on: ubuntu-20.04
defaults:
run:
working-directory: coster
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
name: Install .NET 8
with:
dotnet-version: '8.0.x'
dotnet-quality: 'ga'
- name: Build
run: ./build.sh
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: 'coster/artifacts/test-results/**/*.html'
if-no-files-found: error
- name: Upload coverage report
uses: actions/upload-artifact@v4
if: always()
with:
name: code-coverage
path: 'coster/artifacts/coverage-report'
if-no-files-found: error