File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build release
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - ' fix/**'
7+ - ' feat/**'
8+ - ' dev/**'
9+
10+ # GitHub Actions usage is FREE for both public repositories and self-hosted runners.
11+ # We can use it to build our project and do some automated builds and in future quality tests.
12+ # https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions
13+
14+
15+ jobs :
16+ release :
17+ name : build release
18+ runs-on : windows-2022
19+ timeout-minutes : 30
20+ steps :
21+ # checkout project
22+ - uses : actions/checkout@v3
23+
24+ # setup msbuild
25+ - name : Add msbuild to PATH
26+ uses : microsoft/setup-msbuild@v1.1
27+
28+ # server.dll
29+ - name : Build server.dll
30+ working-directory : src/game/server
31+ run : MSBuild.exe swarm_sdk_server.vcxproj -property:Configuration=Release
32+
33+ # client.dll
34+ - name : Build client.dll
35+ working-directory : src/game/client
36+ run : MSBuild.exe swarm_sdk_client.vcxproj -property:Configuration=Release
37+
38+ # store artifacts
39+ # make sure retention is low, this can become huge otherwise
40+ - name : Store build
41+ uses : actions/upload-artifact@v4
42+ with :
43+ name : Release
44+ path : |
45+ reactivedrop/bin/server.dll
46+ reactivedrop/bin/client.dll
You can’t perform that action at this time.
0 commit comments