Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Milkshiift committed Oct 31, 2023
1 parent 0503597 commit 8542d5e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@ jobs:
include:
- name: linux
runner: ubuntu-latest
arch: x64 arm64 armv7l
- name: win
runner: windows-latest
arch: x64 arm64 ia32
- name: mac
runner: macos-latest
arch: x64 arm64

name: ${{ matrix.name }} (${{ matrix.arch }})
runs-on: ${{ matrix.runner }}
Expand Down Expand Up @@ -47,7 +44,7 @@ jobs:
run: pnpm run build

- name: Package GoofCord
run: electron-builder --${{ matrix.name }} ${{ matrix.arch }}
run: electron-builder --${{ matrix.name }}

- name: Upload to a draft release
uses: marvinpinto/action-automatic-releases@latest
Expand Down
19 changes: 14 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,29 @@
"category": "Network",
"maintainer": "milkshiftdev@gmail.com",
"target": [
"tar.gz",
"AppImage",
"deb"
{
"target": [
"tar.gz",
"AppImage",
"deb"
],
"arch": ["x64", "arm64", "armv7l"]
}
]
},
"win": {
"icon": "build/icon.ico",
"target": {
"target": "NSIS"
"target": "NSIS",
"arch": ["x64", "ia32", "arm64"]
}
},
"mac": {
"category": "public.app-category.social-networking",
"target": "dmg",
"target": {
"target": "dmg",
"arch": ["x64", "arm64"]
},
"icon": "build/icon.icns"
}
},
Expand Down

0 comments on commit 8542d5e

Please sign in to comment.