Skip to content

Build Mac DMG

Build Mac DMG #6

Workflow file for this run

name: Build Mac DMG
on:
workflow_dispatch:
jobs:
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 20 }
- run: npm install --legacy-peer-deps
- run: node generate-bitmaps.js
- run: npx electron-builder --mac dmg --publish always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: Contrary-Convertor-Mac
path: dist/*.dmg
retention-days: 30