From 047cba1a536aeb4cae862f5f453c06b3ca59d9dd Mon Sep 17 00:00:00 2001 From: M_Viper Date: Mon, 14 Sep 2026 19:06:29 +0000 Subject: [PATCH] Dateien nach ".github/workflows" hochladen --- .github/workflows/build-mac.yml | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/build-mac.yml diff --git a/.github/workflows/build-mac.yml b/.github/workflows/build-mac.yml new file mode 100644 index 0000000..bdb18a7 --- /dev/null +++ b/.github/workflows/build-mac.yml @@ -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