Skip to content

Added HostedServices & UserSecrets #88

Added HostedServices & UserSecrets

Added HostedServices & UserSecrets #88

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ./source/ECF.sln
- name: Build
run: dotnet build ./source/ECF.sln --no-restore
- name: Test
run: dotnet test ./source/ECF.sln --no-build --verbosity normal --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
- name: Upload dotnet test results
uses: actions/upload-artifact@v4
with:
name: dotnet-results
path: TestResults
if: ${{ always() }} # Use always() to always run this step to publish test results when there are test failures