@@ -17,25 +17,22 @@ jobs:
17
17
runs-on : ${{ matrix.os }}
18
18
19
19
steps :
20
- # Step 1: Checkout repository
21
20
- name : Checkout Repository
22
21
uses : actions/checkout@v3
23
22
24
- # Step 2: Setup build tools based on OS
25
- - name : Setup Build Tools on Windows
23
+ - name : Setup Windows Build
26
24
if : runner.os == 'Windows'
27
25
run : choco install visualstudio2022buildtools --yes
28
26
shell : powershell
29
- - name : Install Dependencies (Ubuntu)
27
+
28
+ - name : Setup Linux Build
30
29
if : runner.os == 'Linux'
31
30
run : sudo apt-get update && sudo apt-get install -y build-essential cmake
32
31
33
- # Step 3: Configure build environment
34
32
- name : Configure Build
35
33
run : cmake -S . -B build
36
34
shell : bash
37
35
38
- # Step 4: Build project
39
36
- name : Build Project
40
37
run : cmake --build build --config Release --parallel
41
38
shell : bash
@@ -46,20 +43,17 @@ jobs:
46
43
if : startsWith(github.ref, 'refs/tags/')
47
44
48
45
steps :
49
- # Step 1: Checkout repository
50
46
- name : Checkout Repository
51
47
uses : actions/checkout@v3
52
48
53
- # Step 2: Prepare release package
54
- - name : Prepare Artifacts
49
+ - name : Prepare Release Package
55
50
run : |
56
51
sudo apt-get install -y doxygen
57
52
(cat doxygen.config; echo "PROJECT_NUMBER=${{ github.ref_name }}") | doxygen -
58
53
zip -r SyDEVS-${{ github.ref_name }}.zip doc src CMakeLists.txt CODE_OF_CONDUCT.md CONTRIBUTING.md doxygen.config LICENSE.md README.md
59
54
shell : bash
60
55
61
- # Step 3: Deploy release package
62
- - name : Create GitHub Release
56
+ - name : Upload Release Package
63
57
uses : svenstaro/upload-release-action@v2
64
58
with :
65
59
repo_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments