From 568b049b22156233df9cd9cf15d8a2b39545e6c2 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Sat, 21 Mar 2026 02:32:43 +0100 Subject: [PATCH] ci: add GitHub Actions workflow for desktop release builds Triggers on v* tag push, builds for Windows, macOS (arm64), and Linux. Uses electron-builder --publish to upload artifacts to GitHub Releases. --- .github/workflows/release.yml | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..6bb23d3f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,50 @@ +name: Release Desktop + +on: + push: + tags: + - 'v*' + +permissions: + contents: write + +jobs: + build: + strategy: + matrix: + include: + - os: windows-latest + platform: windows + - os: ubuntu-latest + platform: linux + - os: macos-latest + platform: mac + + runs-on: ${{ matrix.os }} + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Build shared package + run: pnpm --filter @backspace/shared build + + - name: Build desktop app + working-directory: packages/desktop + run: pnpm run build + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}