Skip to content

Commit 685fa4c

Browse files
committed
multi arch
1 parent a64118c commit 685fa4c

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,22 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest, windows-latest, macos-latest]
17-
architecture: [arm64, x64]
16+
include:
17+
- os: macos-latest
18+
name: darwin
19+
arch: x64
20+
- os: macos-latest
21+
name: darwin
22+
arch: arm64
23+
- os: windows-latest
24+
name: win32
25+
arch: x64
26+
- os: ubuntu-latest
27+
name: linux
28+
arch: x64
29+
- os: ubuntu-latest
30+
name: linux
31+
arch: arm64
1832
fail-fast: false
1933
steps:
2034
- name: Checkout Repository
@@ -48,4 +62,4 @@ jobs:
4862
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
4963
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
5064
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
51-
run: npm run electron:publish
65+
run: npm run electron:publish -- --platform=${{ matrix.name }} --arch=${{ matrix.arch }}

forge.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ module.exports = {
6262
owner: 'one-click-studio',
6363
name: 'gabin'
6464
},
65-
prerelease: true
65+
prerelease: true,
66+
force: true
6667
}
6768
}
6869
]

0 commit comments

Comments
 (0)