Skip to content

Commit 5773a1f

Browse files
committed
fix zip archive being included in the installer
1 parent 3f5a66e commit 5773a1f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/release.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,9 @@ jobs:
346346
- os: macos-12
347347
browser: safari
348348
install-builder-name: osx
349-
executable-path: artifacts/macos/
349+
executable-path: artifacts/macos/ArduinoCreateAgent.app
350350
installer-extension: .app
351-
artifact-name: ArduinoCreateAgent.app_notarized
351+
artifact-name: ArduinoCreateAgent.app_notarized # this artifact contains the Contents directory
352352

353353
container:
354354
image: floydpink/ubuntu-install-builder:22.10.0
@@ -366,6 +366,14 @@ jobs:
366366
name: ${{ matrix.artifact-name }}
367367
path: ${{ matrix.executable-path }} # path expected by installbuilder
368368

369+
- name: unzip mac notarized bundle
370+
working-directory: ${{ matrix.executable-path }}
371+
run: |
372+
apt install unzip
373+
unzip ${{ matrix.artifact-name }}.zip
374+
rm ${{ matrix.artifact-name }}.zip
375+
if: matrix.os == 'macos-12'
376+
369377
# zip artifacts do not mantain executable permission
370378
- name: Make executable
371379
run: chmod -v +x ${{ matrix.executable-path }}${{ env.PROJECT_NAME }}*

0 commit comments

Comments
 (0)