File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff 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 }}*
You can’t perform that action at this time.
0 commit comments