From 305a6b7347dfd2cce03b34816e2cdf1de4540767 Mon Sep 17 00:00:00 2001 From: Dimitris Kalamaras Date: Wed, 4 Dec 2024 01:50:01 +0200 Subject: [PATCH] [gha] fix windows and macos artifacts --- .github/workflows/build-ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 401f5359..8420f716 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -468,7 +468,7 @@ jobs: uses: actions/upload-release-asset@v1 with: upload_url: ${{ env.UPLOAD_URL }} - asset_path: ./${{ env.MAC_ARTIFACT }} + asset_path: ./build/${{ env.MAC_ARTIFACT }} asset_name: "${{ env.MAC_ARTIFACT }}" asset_content_type: "application/octet-stream" env: @@ -508,29 +508,29 @@ jobs: echo "🔧 Running windeployqt on built executable..." windeployqt build\${{env.CMAKE_CONFIG}}\socnetv.exe - + echo "🔧 Copying license file to build directory..." copy COPYING build\${{env.CMAKE_CONFIG}}\LICENSE.txt echo "🔧 Installing Inno Setup..." choco install -y InnoSetup - + echo "🔧 Adding Inno Setup to PATH..." set PATH=%PATH%;C:\Program Files (x86)\Inno Setup 6\ echo "🔧 Copying InnoSetup script..." copy scripts\innosetup.iss build\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" "build\innosetup.iss" + echo "👉 Checking output installer..." dir build - + echo "🔧 Renaming installer..." rename build\SocNetV-*installer.exe SocNetV-${{env.VERSION}}-windows-installer.exe dir build - + echo "🎉 Windows build complete. Artifacts are ready!" - run: echo "🍏 This job's status is ${{ job.status }}."