Skip to content

ci: add macos build workflow for testing #1

ci: add macos build workflow for testing

ci: add macos build workflow for testing #1

Workflow file for this run

name: Build macOS DMG
on:
workflow_dispatch:
push:
branches: [feature/ringtone-selector]
paths: [".github/workflows/build-macos.yml"]
jobs:
build:
runs-on: macos-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: "24.12.0"
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Build release (DMG)
run: pnpm build-release
env:
CSC_IDENTITY_AUTO_DISCOVERY: "false"
- name: Upload DMG
uses: actions/upload-artifact@v4
with:
name: session-desktop-macos
path: release/*.dmg
if-no-files-found: warn
- name: Upload all release artifacts
uses: actions/upload-artifact@v4
with:
name: session-desktop-release
path: release/session-desktop*
if-no-files-found: warn