mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 02:32:50 +08:00
fix Examples 编译问题
This commit is contained in:
parent
28559066d3
commit
ad40c8adb4
22
.github/workflows/docfx.yml
vendored
22
.github/workflows/docfx.yml
vendored
@ -7,9 +7,27 @@ on:
|
|||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup .NET Core
|
||||||
|
uses: actions/setup-dotnet@v1
|
||||||
|
with:
|
||||||
|
dotnet-version: 3.1.101
|
||||||
|
- name: Exclude example projects
|
||||||
|
run: dotnet sln FreeSql.sln remove (ls -r Examples/**/*.csproj)
|
||||||
|
- name: Install dependencies
|
||||||
|
run: dotnet restore
|
||||||
|
- name: Build solution
|
||||||
|
run: dotnet build --configuration Release --no-restore
|
||||||
|
|
||||||
generate-docs:
|
generate-docs:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -18,7 +36,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.101
|
dotnet-version: 3.1.101
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: dotnet restore
|
run: dotnet sln FreeSql.sln remove (ls -r Examples/**/*.csproj);dotnet restore
|
||||||
- name: Setup DocFX
|
- name: Setup DocFX
|
||||||
uses: crazy-max/ghaction-chocolatey@v1
|
uses: crazy-max/ghaction-chocolatey@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user