Update action.yml

master v3.1
Vitalii Mikhailov 3 years ago committed by GitHub
parent 1b9910b0b3
commit 9f004dd190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,11 +11,11 @@ inputs:
docfx-version:
description: ''
default: '2.58.4'
default: '2.66.1'
newtonsoftjson-version:
description: ''
default: '11.0.2'
default: '13.0.1'
runs:
using: "composite"
@ -26,21 +26,10 @@ runs:
submodules: recursive
fetch-depth: 0
- name: Setup .NET Core 3.1
- name: Setup .NET 7
uses: actions/setup-dotnet@master
with:
dotnet-version: 3.1.x
- name: Setup .NET 5
uses: actions/setup-dotnet@master
with:
dotnet-version: 5.0.x
- name: Ensure NuGet Source
uses: fabriciomurta/ensure-nuget-source@v1
with:
name: 'nuget.org'
url: 'https://api.nuget.org/v3/index.json'
dotnet-version: 7.x.x
- name: Setup BUTR GPR
uses: actions/setup-dotnet@master
@ -48,12 +37,7 @@ runs:
source-url: https://nuget.pkg.github.com/BUTR/index.json
env:
NUGET_AUTH_TOKEN: ${{inputs.github-token}}
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
nuget-version: 'latest'
- name: Generating Newtonsoft.Json xref maps
run: >-
dotnet run --project ${{ github.action_path }}/build/SandcastleXrefGenerator -- `
@ -63,11 +47,9 @@ runs:
shell: pwsh
- name: Build DocFx.Plugin.LastModified
run: >-
dotnet build ${{ github.action_path }}/build/DocFx.Plugin.LastModified --configuration Release --output ${{inputs.docs-directory}}/_template/last-modified/plugins;
run: dotnet build ${{ github.action_path }}/build/DocFx.Plugin.LastModified --configuration Release --output ${{inputs.docs-directory}}/_template/last-modified/plugins;
shell: pwsh
- name: Install DocFX
run: >-
nuget install docfx.console -Version ${{inputs.docfx-version}} -ExcludeVersion;
run: dotnet tool update -g docfx
shell: pwsh

Loading…
Cancel
Save