fix build arch

This commit is contained in:
mrvnklm
2021-11-04 11:11:46 +02:00
parent 74ffce7664
commit 18abb033c7

View File

@@ -24,14 +24,32 @@ jobs:
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
if: runner.os == 'Windows' || runner.os == 'macOS'
if: runner.os == 'macOS'
with:
skip_build: true
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
args: "--ia32"
args: "--x64 --arm64"
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
if: runner.os == 'Windows'
with:
skip_build: true
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
args: "--ia32 --x64 --arm64"
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
@@ -49,7 +67,7 @@ jobs:
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
args: "--linux appimage --ia32 --x64"
args: "--linux appimage --ia32 --x64 --arm64"
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building