Skip to content

Sign and Notarize macOS Builds #29

Sign and Notarize macOS Builds

Sign and Notarize macOS Builds #29

Workflow file for this run

name: Wails build
on:
pull_request:
env:
# Necessary for most environments as build failure can occur due to OOM issues
NODE_OPTIONS: "--max-old-space-size=4096"
jobs:
build:
strategy:
# Failure in one platform build won't impact the others
fail-fast: false
matrix:
build:
# - name: 'Minesweeper XP'
# platform: 'linux/amd64'
# os: 'ubuntu-latest'
# - name: 'Minesweeper XP'
# platform: 'windows/amd64'
# os: 'windows-latest'
- name: 'Minesweeper XP'
platform: 'darwin/universal'
os: 'macos-latest'
runs-on: ${{ matrix.build.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build wails
uses: ./.github/actions/wails-build-action
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
package: true
go-version: '1.23'
sign-macos-apple-id: ${{ secrets.APPLE_ID }}
sign-macos-apple-id-password: ${{ secrets.APPLE_PASSWORD }}
sign-macos-apple-team-id: ${{ secrets.APPLE_TEAM_ID }}
p12-file-base64: ${{ secrets.P12_FILE_BASE64 }}
p12-password: ${{ secrets.P12_PASSWORD }}