@@ -19,44 +19,36 @@ jobs:
1919 should_skip : ${{ steps.skip_check.outputs.should_skip }}
2020 steps :
2121 - id : skip_check
22- uses : fkirc/skip-duplicate-actions@v3.4.1
22+ uses : fkirc/skip-duplicate-actions@v5
2323 with :
24- # skip concurrent jobs if they are on the same thing
2524 concurrent_skipping : ' same_content'
26- # never skip PR, release or manual/scheduled runs
2725 do_not_skip : ' ["pull_request", "release", "workflow_dispatch", "schedule"]'
2826
2927 build-windows :
3028 needs : pre_job
3129 if : ${{ needs.pre_job.outputs.should_skip != 'true' }}
32- runs-on : windows-2019
30+ runs-on : windows-latest
3331 strategy :
3432 fail-fast : false
3533 matrix :
36- configuration : [msvc-debug, msvc-release]
37- enable_steam : [false]
38- include :
39- - enable_steam : true
40- configuration : msvc-release
41- name : ' windows [${{ matrix.configuration}}, steam: ${{ matrix.enable_steam }}]'
34+ configuration : [debug, release]
35+ name : ' Windows [${{ matrix.configuration }}]'
4236 steps :
43- - uses : actions/checkout@v2
37+ - uses : actions/checkout@v3
4438 with :
4539 submodules : ' recursive'
4640 - uses : ilammy/msvc-dev-cmd@v1
4741 - name : Install Conan
4842 run : pip install conan==1.59.0
49- - name : Configure with CMakeSettings.json and build
50- uses : lukka/run-cmake@v3
43+ - name : Configure and build
44+ uses : lukka/run-cmake@v10
5145 with :
52- cmakeListsOrSettingsJson : CMakeSettingsJson
53- cmakeSettingsJsonPath : ' ${{ github.workspace }}/CMakeSettings.json'
54- useVcpkgToolchainFile : false
55- buildDirectory : ' ${{ github.workspace }}/build'
56- configurationRegexFilter : ' ${{ matrix.configuration }}'
57- cmakeAppendedArgs : ' -DSTORM_ENABLE_STEAM=${{ matrix.enable_steam }} -DSTORM_ENABLE_CRASH_REPORTS=ON'
46+ configurePreset : default
47+ buildPreset : ' ${{ matrix.configuration }}'
5848 - name : Upload artifact
59- uses : actions/upload-artifact@v2
49+ uses : actions/upload-artifact@v3
6050 with :
61- name : storm-engine.${{ matrix.configuration }}-steam-${{ matrix.enable_steam}}
62- path : build\${{ matrix.configuration }}\bin
51+ name : storm-engine.${{ matrix.configuration }}
52+ path : build/default/${{ matrix.configuration }}
53+
54+ permissions : write-all
0 commit comments