Skip to content

Commit

Permalink
FIX: Building for x64 (#1894)
Browse files Browse the repository at this point in the history
* FIX: Building for x64

* ADD: Conditional Args for Build

* FIX: Conditional
  • Loading branch information
NeoPlays authored May 28, 2024
1 parent 16afd6a commit 9d213a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/electron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
shell: cmd
if: matrix.os == 'windows-latest'

- name: macOS build args
if: matrix.os == 'macos-latest'
run: echo "BUILD_ARGS=--universal" >> $GITHUB_ENV

- name: Build Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
Expand All @@ -63,6 +67,7 @@ jobs:
build_script_name: dist
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
args: ${{ env.BUILD_ARGS }}
env:
APPLE_ID: ${{ secrets.apple_id }}
APPLE_ID_PASSWORD: ${{ secrets.apple_id_password }}
Expand Down

0 comments on commit 9d213a2

Please sign in to comment.