11name : Windows Release Build
22
3- #
43on :
54 schedule :
65 # every day at 6am
1110 BUILD_TYPE : RelWithDebInfo
1211 REPO_DIR : ${{github.workspace}}
1312 BUILD_DIR : ${{github.workspace}}/bin/builddir
14- BOOST_TOOLSET : " msvc"
15- BOOST_VERSION : " 1.83.0"
16- BOOST_PLATFORM_VERSION : " 2022"
1713
1814jobs :
1915 build :
4137
4238 steps :
4339 - name : Checkout
44- uses : actions/checkout@v4
40+ uses : actions/checkout@v6
4541 with :
4642 path : ${{env.REPO_DIR}}
4743
5046 run : |
5147 echo "ARCHIVE_FILENAME=$env:CI_REPOSITORY_NAME-${{matrix.TYPE}}-$env:CI_SHA_SHORT.zip" >> $env:GITHUB_ENV
5248 cmake -E make_directory ${{ env.BUILD_DIR }}
53-
54- # install dependencies
55- - name : Install Boost
56- uses : MarkusJx/install-boost@v2.5.0
57- id : install-boost
58- with :
59- # REQUIRED: Specify the required boost version
60- # A list of supported versions can be found here:
61- # https://github.com/MarkusJx/prebuilt-boost/blob/main/versions-manifest.json
62- boost_version : ${{env.BOOST_VERSION}}
63- # OPTIONAL: Specify a platform version
64- platform_version : ${{env.BOOST_PLATFORM_VERSION}}
65- # OPTIONAL: Specify a toolset
66- toolset : ${{env.BOOST_TOOLSET}}
67- # NOTE: If a boost version matching all requirements cannot be found,
68- # this build step will fail
49+ choco install boost-msvc-14.3
6950
7051 - name : Configure
71- env :
72- BOOST_ROOT : ${{ steps.install-boost.outputs.BOOST_ROOT }}
7352 run : cmake ${{matrix.OPTIONAL_DEFINES}} -B ${{env.BUILD_DIR}} -S ${{env.REPO_DIR}}
7453
7554 - name : Build
@@ -136,7 +115,7 @@ jobs:
136115
137116 notify-success :
138117 name : Send Notification to Discord on Success
139- runs-on : ubuntu-20.04
118+ runs-on : ubuntu-latest
140119 permissions :
141120 contents : none
142121 needs :
@@ -179,7 +158,7 @@ jobs:
179158
180159 notify :
181160 name : Send Notification to Discord on Failure
182- runs-on : ubuntu-20.04
161+ runs-on : ubuntu-latest
183162 permissions :
184163 contents : none
185164 needs : # make sure the notification is sent AFTER the jobs you want included have completed
@@ -205,4 +184,4 @@ jobs:
205184 - **Commit:** [${{github.repository}}/${{env.GIT_SHORT_SHA}}](${{github.server_url}}/${{ github.repository }}/commit/${{github.sha}})
206185 - **Build Log:** [actions/runs/${{github.run_id}}](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}})
207186 footer : CMaNGOS Developers Notified!
208- webhookUrl : ${{ secrets.DISCORD_WEBHOOK }}
187+ webhookUrl : ${{ secrets.DISCORD_WEBHOOK }}
0 commit comments