Skip to content

Commit

Permalink
build a .dmg instead of a .pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Oct 6, 2023
1 parent e739883 commit 642db6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,16 @@ jobs:

- name: Package artifacts
run: |
mkdir artifact-pkg
mv dist/*.pkg artifact-pkg/
mkdir artifact-dmg
mv dist/*.dmg artifact-dmg/
mkdir artifact-zip
mv dist/*.zip artifact-zip/
- uses: actions/upload-artifact@master
name: Upload PKG
name: Upload DMG
with:
name: macOS .pkg (${{matrix.arch}})
path: artifact-pkg
name: macOS .dmg (${{matrix.arch}})
path: artifact-dmg

- uses: actions/upload-artifact@master
name: Upload ZIP
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-macos.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ process.env.APPLE_APP_SPECIFIC_PASSWORD ??= process.env.APPSTORE_PASSWORD

builder({
dir: true,
mac: ['pkg', 'zip'],
mac: ['dmg', 'zip'],
x64: process.env.ARCH === 'x86_64',
arm64: process.env.ARCH === 'arm64',
config: {
Expand Down

0 comments on commit 642db6a

Please sign in to comment.