Skip to content

Commit

Permalink
multi arch
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-dm committed Jan 5, 2024
1 parent a64118c commit 685fa4c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,22 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
architecture: [arm64, x64]
include:
- os: macos-latest
name: darwin
arch: x64
- os: macos-latest
name: darwin
arch: arm64
- os: windows-latest
name: win32
arch: x64
- os: ubuntu-latest
name: linux
arch: x64
- os: ubuntu-latest
name: linux
arch: arm64
fail-fast: false
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -48,4 +62,4 @@ jobs:
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm run electron:publish
run: npm run electron:publish -- --platform=${{ matrix.name }} --arch=${{ matrix.arch }}
3 changes: 2 additions & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ module.exports = {
owner: 'one-click-studio',
name: 'gabin'
},
prerelease: true
prerelease: true,
force: true
}
}
]
Expand Down

0 comments on commit 685fa4c

Please sign in to comment.