Skip to content

ci: add contents-write perm to electron workflow #4

ci: add contents-write perm to electron workflow

ci: add contents-write perm to electron workflow #4

name: Build and Publish Electron GUI
on:
push:
tags:
- "deemix-gui@*"
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
HUSKY: 0
jobs:
build-publish-electron:
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install
- run: pnpm build:gui
- name: Upload Artifacts
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: deemix-gui_*.dmg