gave up on trying to compile dmg in ubuntu 🥴 #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build OSX .dmg | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build-osx: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: yarn | |
- name: Install building dependencies | |
run: brew install python-setuptools libx11 libxkbfile | |
- name: Install Yarn | |
run: yarn install | |
- name: Download default plugins | |
run: yarn download:plugins | |
- name: Build Browser version | |
run: yarn build:browser | |
- name: Build Electron version | |
run: yarn build:electron | |
- run: yarn electron package --mac | |
env: | |
# Skip code signing | |
CSC_IDENTITY_AUTO_DISCOVERY: false | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: electron-app/dist/*.dmg | |
name: coderibbon-electron |