File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 cake :
14- runs-on : ubuntu-24.04
14+ runs-on : windows-2022
1515
1616 steps :
1717 - name : checkout
1818 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1919
2020 - name : Fetch all tags and branches
2121 run : git fetch --prune --unshallow
22-
22+ - uses : actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
23+ with :
24+ # wyam needs 2.1
25+ # cake 2.3 needs 6.0
26+ # .NET 10 to build
27+ dotnet-version : |
28+ 2.1
29+ 6.0
30+ 10.0
2331 - name : Cache Tools
2432 uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
2533 with :
2634 path : tools
2735 key : ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }}
2836
29- - name : Install mono
30- if : runner.os == 'Linux'
31- # check https://www.mono-project.com/download/stable/#download-lin
32- run : |
33- sudo apt install ca-certificates gnupg
34- sudo gpg --homedir /tmp --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
35- sudo chmod +r /usr/share/keyrings/mono-official-archive-keyring.gpg
36- echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
37- sudo apt update
38- sudo apt install -y mono-complete
39- mono --version
40-
4137 - name : Publishing documentaiton
4238 uses : cake-build/cake-action@d218f1133bb74a1df0b08c89cfd8fc100c09e1a0 # v3
4339 with :
4440 script-path : recipe.cake
4541 target : Force-Publish-Documentation
46- verbosity : Diagnostic
4742 cake-version : tool-manifest
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ BuildParameters.SetParameters(
1313 shouldUseDeterministicBuilds : true ,
1414 shouldRunCodecov : false ,
1515 preferredBuildProviderType : BuildProviderType . GitHubActions ,
16- preferredBuildAgentOperatingSystem : PlatformFamily . Linux ,
16+ preferredBuildAgentOperatingSystem : PlatformFamily . Windows ,
1717 shouldUseTargetFrameworkPath : false ) ;
1818
1919BuildParameters . PrintParameters ( Context ) ;
You can’t perform that action at this time.
0 commit comments