Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaloop authored Sep 3, 2024
1 parent c1fe4fd commit caaf329
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@ jobs:
zip -r ../../../../keyviz-release-linux.zip .
popd
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
pushd build/macos
zip -r ../keyviz-release-macos.zip .
pushd build/macos/Build/Products/Release
mkdir dmg_temp
cp -R keyviz.app dmg_temp/
hdiutil create -volname Keyviz -srcfolder dmg_temp -ov -format UDZO keyviz-release-macos.dmg
mv keyviz-release-macos.dmg ../../../../
popd
elif [[ "${{ matrix.os }}" == "windows-latest" ]]; then
pushd build/windows/x64/runner/Release
Expand All @@ -63,5 +66,5 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-build
name: ${{ matrix.os }}
path: build/keyviz-release-*

0 comments on commit caaf329

Please sign in to comment.