Skip to content

CI fix sample demo path. #4

CI fix sample demo path.

CI fix sample demo path. #4

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@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore 'Tools' dependencies
run: |
dotnet restore ./tools/Beef.CodeGen.Core
dotnet restore ./tools/Beef.Database.Core
dotnet restore ./tools/Beef.Database.SqlServer
dotnet restore ./tools/Beef.Database.MySql
dotnet restore ./tools/Beef.Test.NUnit
- name: Build 'Tools' projects
run: |
dotnet build ./tools/Beef.CodeGen.Core --no-restore
dotnet build ./tools/Beef.Database.Core --no-restore
dotnet build ./tools/Beef.Database.SqlServer --no-restore
dotnet build ./tools/Beef.Database.MySql --no-restore
dotnet build ./tools/Beef.Test.NUnit --no-restore
- name: Restore 'Samples' dependencies
run: |
dotnet restore ./samples/Demo
dotnet restore ./samples/Cdr.Banking
dotnet restore ./samples/My.Hr
dotnet restore ./samples/MyEf.Hr
- name: Build 'Samples' projects
run: |
dotnet build ./samples/Demo --no-restore
dotnet build ./samples/Cdr.Banking --no-restore
dotnet build ./samples/My.Hr --no-restore
dotnet build ./samples/MyEf.Hr --no-restore