Skip to content

Commit

Permalink
[gha] fix windows and macos artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
oxy86 committed Dec 3, 2024
1 parent 0727301 commit 305a6b7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}."

0 comments on commit 305a6b7

Please sign in to comment.