Skip to content

macOS Release

macOS Release #56

Workflow file for this run

name: macOS Release
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Setup env
run: |
git config --global credential.helper store
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
- name: Checkout repository
uses: actions/checkout@v2
with:
repository: vflam/nuxt-nr
submodules: true
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 1
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 20.11.0
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build-electron
- name: Create release
run: npm exec electron-builder --mac --publish=always