Skip to content

Commit bde686b

Browse files
committed
Update action dependencies
1 parent 3389286 commit bde686b

1 file changed

Lines changed: 25 additions & 11 deletions

File tree

.github/workflows/docs.yml

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,43 @@ jobs:
88
build:
99
runs-on: windows-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
11+
- name: Checkout
12+
uses: actions/checkout@v4.1.1
13+
with:
14+
submodules: true
15+
1316
- name: Setup MSBuild
14-
uses: microsoft/setup-msbuild@v1
15-
17+
uses: microsoft/setup-msbuild@v2
18+
1619
- name: Restore NuGet Packages
17-
run: msbuild -t:restore src\Bonsai.Scripting.Python.sln
20+
run: msbuild -t:restore src/Bonsai.Scripting.Python.sln
1821

19-
- name: Setup DocFX
20-
uses: crazy-max/ghaction-chocolatey@v1
22+
- name: Build Solution
23+
run: msbuild src/Bonsai.Scripting.Python.sln /p:Configuration=Release
24+
25+
- name: Setup .NET Core SDK
26+
uses: actions/setup-dotnet@v4.0.0
2127
with:
22-
args: install docfx
28+
dotnet-version: 7.x
29+
30+
- name: Setup DocFX
31+
run: dotnet tool restore
2332

33+
- name: Setup Bonsai
34+
working-directory: .bonsai
35+
run: .\Setup.ps1
36+
2437
- name: Build Documentation
25-
run: docfx docs/docfx.json
38+
working-directory: docs
39+
run: .\build.ps1
2640

2741
- name: Checkout gh-pages
28-
uses: actions/checkout@v2
42+
uses: actions/checkout@v4.1.1
2943
with:
3044
ref: gh-pages
3145
path: gh-pages
3246
- name: Publish to github pages
33-
uses: peaceiris/actions-gh-pages@v3
47+
uses: peaceiris/actions-gh-pages@v3.9.3
3448
with:
3549
github_token: ${{ secrets.GITHUB_TOKEN }}
3650
publish_dir: docs/_site

0 commit comments

Comments
 (0)