Add ability to discard VMs #387
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |