Skip to content

Commit 2ac3a97

Browse files
committed
package as zip for mac os
1 parent 07ea774 commit 2ac3a97

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,15 @@ jobs:
217217
path: ${{ env.RESOURCES_DIR }}
218218

219219
- name: Build ${{ matrix.arch }} mac os package
220-
run: ARCHITECTURE=${{ matrix.arch }} VERSION=${{ needs.build.outputs.launcherVersion }} ./build.sh mac-package
220+
run: |
221+
ARCHITECTURE=${{ matrix.arch }} VERSION=${{ needs.build.outputs.launcherVersion }} ./build.sh mac-package
222+
ls -ld PharoLauncher.app
223+
zip -r -9 PharoLauncher-mac-${{ needs.build.outputs.launcherVersion }}-${{ matrix.arch == '64' && 'x64' || matrix.arch }} PharoLauncher.app
221224
222225
- uses: actions/upload-artifact@v4
223226
with:
224-
name: PharoLauncher-mac-installer-${{ needs.build.outputs.launcherVersion }}-${{ matrix.arch == '64' && 'x64' || matrix.arch }}
225-
path: PharoLauncher-*.dmg
227+
name: PharoLauncher-mac-${{ needs.build.outputs.launcherVersion }}-${{ matrix.arch == '64' && 'x64' || matrix.arch }}
228+
path: PharoLauncher-mac-*.zip
226229

227230
publish:
228231
runs-on: ubuntu-latest
@@ -249,7 +252,7 @@ jobs:
249252
with:
250253
files: |
251254
**/*.msi
252-
**/*.dmg
255+
**/PharoLauncher-mac-*.zip
253256
artifacts/*.zip
254257
body: |
255258
Warning: Release artefacts below are not signed nor notarized and by consequence, are not recognized as safe by Operating Systems.

0 commit comments

Comments
 (0)