Skip to content

Commit

Permalink
ci: Test universal build on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGemmaJr committed Aug 7, 2024
1 parent 1a95de0 commit 92e840b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
if: startsWith(matrix.os, 'mac')
with:
name: ${{ format('mac-installer-{0}', github.event.inputs.setting) }}
path: out/make/${{ steps.package_info.outputs.name }}-${{ steps.package_info.outputs.version }}-x64.dmg
path: out/make/${{ steps.package_info.outputs.name }}-${{ steps.package_info.outputs.version }}-universal.dmg
if-no-files-found: error
- name: ⬆ Upload installer - Linux
uses: actions/upload-artifact@v3
Expand Down
3 changes: 2 additions & 1 deletion forge.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export default {
packagerConfig: {
asar: true,
icon: "assets/icons/icon",
// osxSign: {},
// NOTE: THis is needed for universal but crashes when not using the universal
osxSign: {},
},
rebuildConfig: {},
makers: [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"make": "electron-forge make",
"make:windows": "electron-forge make --arch x64 --targets @electron-forge/maker-squirrel",
"make:linux": "electron-forge make --arch x64 --targets @electron-forge/maker-deb",
"make:mac": "electron-forge make --arch x64 --targets @electron-forge/maker-dmg",
"make:mac": "electron-forge make --arch universal --targets @electron-forge/maker-dmg",
"make:mac:OLD": "electron-forge make --arch universal --targets @electron-forge/maker-dmg",
"cli": "node cli.mjs",
"commit": "git-cz",
Expand Down

0 comments on commit 92e840b

Please sign in to comment.