Skip to content

Commit

Permalink
Update action dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Mar 4, 2024
1 parent 987bcfa commit 12ba2d1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,35 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1
name: Checkout
with:
submodules: recursive

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v2

- name: Restore NuGet Packages
run: msbuild -t:restore src\bonsai\Bonsai.sln

- name: Setup DocFX
uses: crazy-max/ghaction-chocolatey@v1
- name: Setup .NET Core SDK
uses: actions/[email protected]
with:
args: install docfx
dotnet-version: 7.x

- name: Setup DocFX
run: dotnet tool restore

- name: Build Documentation
run: docfx docfx.json
run: dotnet docfx docfx.json

- name: Checkout gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1
with:
ref: gh-pages
path: gh-pages
- name: Publish to github pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _site
Expand Down

0 comments on commit 12ba2d1

Please sign in to comment.