Skip to content

Commit 8808ce5

Browse files
committed
fix zip archive being included in the installer
1 parent 3c5cb12 commit 8808ce5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
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,13 @@ 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+
unzip ${{ matrix.artifact-name }}.zip
373+
rm ${{ matrix.artifact-name }}.zip
374+
if: matrix.os == 'macos-12'
375+
369376
# zip artifacts do not mantain executable permission
370377
- name: Make executable
371378
run: chmod -v +x ${{ matrix.executable-path }}${{ env.PROJECT_NAME }}*

0 commit comments

Comments
 (0)