Update action.yml

master
Vitalii Mikhailov 2 years ago committed by GitHub
parent 899d43fc8b
commit 63d94b062f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@ runs:
using: "composite" using: "composite"
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
fetch-depth: 0 fetch-depth: 0
@ -50,16 +50,20 @@ runs:
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 shell: pwsh
- uses: actions/checkout@master
with:
name: BUTR/docfx
path: _actions_docfx
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16
- run: npm install - run: npm install
working-directory: build/docfx/templates working-directory: _actions_docfx/templates
shell: pwsh shell: pwsh
- run: npm run build - run: npm run build
working-directory: build/docfx/templates working-directory: _actions_docfx/templates
shell: pwsh shell: pwsh
- run: dotnet pack build/docfx/src/docfx -c Release -o ./drop/nuget - run: dotnet pack _actions_docfx/src/docfx -c Release -o ./drop/nuget
shell: pwsh shell: pwsh
- run: dotnet tool update --global docfx - run: dotnet tool update --global docfx
shell: pwsh shell: pwsh

Loading…
Cancel
Save