Update docfx.yml

This commit is contained in:
IGeekFan 2021-04-10 21:56:53 +08:00 committed by GitHub
parent e6fd68206e
commit 7206d39417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,9 +16,9 @@ jobs:
- name: Setup .NET Core - name: Setup .NET Core
uses: actions/setup-dotnet@v1 uses: actions/setup-dotnet@v1
with: with:
dotnet-version: 3.1.101 dotnet-version: 5.0.202
- name: Exclude example projects - name: Exclude example projects
run: dotnet sln FreeSql.sln remove Examples/**/*.csproj run: dotnet sln FreeSql.sln remove Examples/**/*.csproj FreeSql.Tests/**/*.csproj
- name: Install dependencies - name: Install dependencies
run: dotnet restore run: dotnet restore
- name: Build solution - name: Build solution
@ -34,9 +34,13 @@ jobs:
- name: Setup .NET Core - name: Setup .NET Core
uses: actions/setup-dotnet@v1 uses: actions/setup-dotnet@v1
with: with:
dotnet-version: 3.1.101 dotnet-version: 5.0.202
- name: Remove Examples
run: dotnet sln FreeSql.sln remove (ls -r Examples/**/*.csproj)
- name: Remove FreeSql.Tests
run: dotnet sln FreeSql.sln remove (ls -r FreeSql.Tests/**/*.csproj)
- name: Install dependencies - name: Install dependencies
run: dotnet sln FreeSql.sln remove (ls -r Examples/**/*.csproj);dotnet restore run: dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org --configfile $env:APPDATA\NuGet\NuGet.Config && dotnet restore
- name: Setup DocFX - name: Setup DocFX
uses: crazy-max/ghaction-chocolatey@v1 uses: crazy-max/ghaction-chocolatey@v1
with: with: