diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index d0e5282b..f426c14e 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -320,7 +320,7 @@ jobs: echo "📤 Uploading artifact to GitHub release..." gh release upload continuous "./build/${{ env.LINUX_ARTIFACT }}" --repo "${{ github.repository }}" \ - --clobber --title "${{ env.APP_NAME }} ${{env.VERSION}}" --content-type application/octet-stream + --clobber --content-type application/octet-stream env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -515,7 +515,7 @@ jobs: echo "📤 Uploading artifact to GitHub release..." gh release upload continuous "./build/${{ env.MAC_ARTIFACT }}" --repo "${{ github.repository }}" \ - --clobber --title "${{ env.APP_NAME }} ${{env.VERSION}}" --content-type application/octet-stream + --clobber --content-type application/octet-stream env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -560,14 +560,15 @@ jobs: cmake -S . -B build echo "🚧 🛠️ Compiling into build/ with 'cmake --build build -j${{env.CORES}} --config ${{env.CMAKE_CONFIG}}'. Please wait..." cmake --build build -j${{env.CORES}} --config ${{env.CMAKE_CONFIG}} -v - echo "👉 Building finished. Listing directory build/ for verification: " - dir build + echo "👉 Building finished. Entering build/ and listing it for verification: " + cd build + dir echo "🔧 Running windeployqt on built executable..." - windeployqt build\${{env.CMAKE_CONFIG}}\socnetv.exe + windeployqt ${{env.CMAKE_CONFIG}}\socnetv.exe echo "🔧 Copying license file to build directory..." - copy COPYING build\${{env.CMAKE_CONFIG}}\LICENSE.txt + copy ..\COPYING ${{env.CMAKE_CONFIG}}\LICENSE.txt if (!(Get-Command "iscc.exe" -ErrorAction SilentlyContinue)) { echo "🔧 Installing Inno Setup..." @@ -583,7 +584,7 @@ jobs: iscc.exe /? echo "🔧 Copying InnoSetup script..." - copy scripts\innosetup.iss build\innosetup.iss + copy ..\scripts\innosetup.iss innosetup.iss echo "Updating RELEASEFOLDER in innosetup.iss with ${{env.CMAKE_CONFIG}}..." $config = "${{env.CMAKE_CONFIG}}" @@ -593,14 +594,14 @@ jobs: type innosetup.iss echo "🔧 Running Inno Setup to create installer..." - & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "build\innosetup.iss" + & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "innosetup.iss" echo "👉 Checking output installer..." - dir build + dir echo "🔧 Renaming installer..." - Get-ChildItem -Path "build\SocNetV-*installer.exe" | Move-Item -Destination "build\SocNetV-${{env.VERSION}}-windows-installer.exe" - dir build + Get-ChildItem -Path "SocNetV-*installer.exe" | Move-Item -Destination "SocNetV-${{env.VERSION}}-windows-installer.exe" + dir echo "🎉 Windows build complete. Artifacts are ready!"