Dateien nach ".github/workflows" hochladen

This commit is contained in:
2026-09-14 19:06:29 +00:00
parent 0c40d5d952
commit 047cba1a53
+36
View File
@@ -0,0 +1,36 @@
# Builds an unsigned Fellakte.dmg on a real Mac (GitHub-hosted runner), since
# electron-builder refuses to build macOS targets on Windows/Linux. Unsigned means
# Gatekeeper will show an "unbekannter Entwickler" warning on first launch — see the
# README section this workflow's summary points to for the one-time workaround.
name: Build macOS installer
on:
workflow_dispatch: {} # "Run workflow" button on the Actions tab, whenever needed
push:
tags:
- "v*" # also builds automatically when a version tag like v0.8.0 is pushed
jobs:
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci
- name: Build .dmg (unsigned)
env:
CSC_IDENTITY_AUTO_DISCOVERY: "false"
run: npm run dist:mac
- name: Upload .dmg
uses: actions/upload-artifact@v4
with:
name: Fellakte-mac
path: dist/*.dmg
retention-days: 30