-
Notifications
You must be signed in to change notification settings - Fork 16
49 lines (49 loc) · 1.13 KB
/
coster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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-latest
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