fix compile error #294
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
# 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: Build | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
services: | ||
sqldb: | ||
image: mcr.microsoft.com/mssql/server | ||
ports: | ||
- 1433:1433 | ||
env: | ||
SA_PASSWORD: Your_password123 | ||
ACCEPT_EULA: Y | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Restore dependencies | ||
run: dotnet restore CleanArchitecture.Blazor.sln | ||
- name: Build | ||
run: dotnet clean CleanArchitecture.Blazor.sln | ||
run: dotnet build CleanArchitecture.Blazor.sln --no-restore --configuration Release | ||
Check failure on line 35 in .github/workflows/dotnet.yml
|
||
# - name: Test | ||
# run: dotnet test CleanArchitecture.Blazor.sln --no-build --configuration Release --filter "FullyQualifiedName!~AcceptanceTests" | ||
env: | ||
DatabaseSettings__DBProvider: mssql | ||
ConnectionStrings__ConnectionString: Server=sqldb;Database=BlazorDashboardDb.Test;User=sa;Password=Your_password123;MultipleActiveResultSets=true;Encrypt=false; |