Skip to content

Commit 7bb8b91

Browse files
committed
let gon generate the dmg installer and upload it
1 parent 7f31d0e commit 7bb8b91

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,11 @@ jobs:
288288
deep = true
289289
}
290290
291+
# generate a Disk Image
292+
dmg {
293+
output_path = "ArduinoCreateAgent_${{ matrix.arch }}_notarized.dmg"
294+
volume_name = "ArduinoCreateAgent"
295+
}
291296
# Ask Gon for zip output to force notarization process to take place.
292297
# The CI will upload the zip output
293298
zip {
@@ -317,11 +322,11 @@ jobs:
317322
aws s3 cp darwin-${{ matrix.arch }}-bundle.json s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.TARGET }}
318323
if: ${{ needs.build.outputs.prerelease != 'true' }}
319324

320-
- name: Upload artifact
325+
- name: Upload artifacts
321326
uses: actions/upload-artifact@v3
322327
with:
323328
name: ArduinoCreateAgent.app_${{ matrix.arch }}_notarized
324-
path: ArduinoCreateAgent.app_${{ matrix.arch }}_notarized.zip
329+
path: ArduinoCreateAgent*_${{ matrix.arch }}_notarized.* #TODO remove zip upload (not needed here)
325330
if-no-files-found: error
326331

327332
# This job is responsible for generating the installers (using installbuilder)

0 commit comments

Comments
 (0)