1111 workflow_dispatch :
1212
1313env :
14- MATCHMAKER_VERSION : v3.0.1
14+ MATCHMAKER_VERSION : v3.1.0
1515
1616jobs :
1717 build :
18- runs-on : windows-2022
18+ runs-on : windows-latest
1919
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v4
2222
2323 - name : Setup .NET
24- uses : actions/setup-dotnet@v1
24+ uses : actions/setup-dotnet@v4
2525 with :
26- dotnet-version : 6 .0.x
26+ dotnet-version : 9 .0.x
2727
28- - name : Setup DocFX
29- uses : crazy-max/ghaction-chocolatey@v1
30- with :
31- args : install docfx
28+ - name : Setup docfx
29+ shell : pwsh
30+ run : |
31+ dotnet tool update --global docfx
3232
3333 - name : Test Matchmaker
3434 shell : pwsh
4242 dotnet pack --nologo -c Release -o ${{github.workspace}}\build\ /p:ContinuousIntegrationBuild=true
4343
4444 - name : Upload Matchmaker
45- uses : actions/upload-artifact@v2
45+ uses : actions/upload-artifact@v4
4646 with :
4747 name : matchmaker-build
4848 path : ${{github.workspace}}\build\*
5454 continue-on-error : false
5555
5656 - name : Publish Docs
57- uses : peaceiris/actions-gh-pages@v3
57+ uses : peaceiris/actions-gh-pages@v4
5858 with :
5959 github_token : ${{secrets.GITHUB_TOKEN}}
6060 publish_dir : docs-dest/
@@ -64,21 +64,21 @@ jobs:
6464 commit_message : " Deploy docs to GitHub Pages"
6565
6666 publish :
67- runs-on : windows-2022
67+ runs-on : windows-latest
6868 if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
6969 needs : [build]
7070
7171 steps :
7272 - name : Checkout
73- uses : actions/checkout@v2
73+ uses : actions/checkout@v4
7474
7575 - name : Setup .NET
76- uses : actions/setup-dotnet@v1
76+ uses : actions/setup-dotnet@v4
7777 with :
78- dotnet-version : 6 .0.x
78+ dotnet-version : 9 .0.x
7979
8080 - name : Fetch Package
81- uses : actions/download-artifact@v2
81+ uses : actions/download-artifact@v4
8282 with :
8383 name : matchmaker-build
8484 path : matchmaker-build
0 commit comments