Update action.yml

master
Vitalii Mikhailov 3 years ago committed by GitHub
parent 28f165d531
commit 29006c0177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,21 +50,25 @@ 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@v3 # When a custom fork is needed
with: # - uses: actions/checkout@v3
repository: BUTR/docfx # with:
path: _actions_docfx # repository: BUTR/docfx
- uses: actions/setup-node@v3 # path: _actions_docfx
with: # - uses: actions/setup-node@v3
node-version: 16 # with:
- run: npm install # node-version: 16
working-directory: _actions_docfx/templates # - run: npm install
shell: pwsh # working-directory: _actions_docfx/templates
- run: npm run build # shell: pwsh
working-directory: _actions_docfx/templates # - run: npm run build
shell: pwsh # working-directory: _actions_docfx/templates
- run: dotnet pack _actions_docfx/src/docfx -c Release -o _actions_docfx/drop/nuget # shell: pwsh
shell: pwsh # - run: dotnet pack _actions_docfx/src/docfx -c Release -o _actions_docfx/drop/nuget
- run: dotnet tool update --global docfx # shell: pwsh
working-directory: _actions_docfx # - run: dotnet tool update --global docfx
# working-directory: _actions_docfx
# shell: pwsh
- name: Install DocFX
run: dotnet tool update -g docfx
shell: pwsh shell: pwsh

Loading…
Cancel
Save