@@ -17,25 +17,22 @@ jobs:
1717 runs-on : ${{ matrix.os }}
1818
1919 steps :
20- # Step 1: Checkout repository
2120 - name : Checkout Repository
2221 uses : actions/checkout@v3
2322
24- # Step 2: Setup build tools based on OS
25- - name : Setup Build Tools on Windows
23+ - name : Setup Windows Build
2624 if : runner.os == 'Windows'
2725 run : choco install visualstudio2022buildtools --yes
2826 shell : powershell
29- - name : Install Dependencies (Ubuntu)
27+
28+ - name : Setup Linux Build
3029 if : runner.os == 'Linux'
3130 run : sudo apt-get update && sudo apt-get install -y build-essential cmake
3231
33- # Step 3: Configure build environment
3432 - name : Configure Build
3533 run : cmake -S . -B build
3634 shell : bash
3735
38- # Step 4: Build project
3936 - name : Build Project
4037 run : cmake --build build --config Release --parallel
4138 shell : bash
@@ -46,20 +43,17 @@ jobs:
4643 if : startsWith(github.ref, 'refs/tags/')
4744
4845 steps :
49- # Step 1: Checkout repository
5046 - name : Checkout Repository
5147 uses : actions/checkout@v3
5248
53- # Step 2: Prepare release package
54- - name : Prepare Artifacts
49+ - name : Prepare Release Package
5550 run : |
5651 sudo apt-get install -y doxygen
5752 (cat doxygen.config; echo "PROJECT_NUMBER=${{ github.ref_name }}") | doxygen -
5853 zip -r SyDEVS-${{ github.ref_name }}.zip doc src CMakeLists.txt CODE_OF_CONDUCT.md CONTRIBUTING.md doxygen.config LICENSE.md README.md
5954 shell : bash
6055
61- # Step 3: Deploy release package
62- - name : Create GitHub Release
56+ - name : Upload Release Package
6357 uses : svenstaro/upload-release-action@v2
6458 with :
6559 repo_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments