From b5adf4aa6c6de8c202b0cb9bc0c21d0a966399b6 Mon Sep 17 00:00:00 2001 From: sanasol Date: Sun, 18 Jan 2026 13:08:51 +0100 Subject: [PATCH] Add GitHub Actions workflow for building and releasing artifacts across Linux, Windows, and macOS platforms --- .github/workflows/release.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f689655..0773e2c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,9 +18,7 @@ jobs: node-version: '22' cache: 'npm' - run: npm ci - - run: npm run build:linux - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: npx electron-builder --linux --publish never - uses: actions/upload-artifact@v4 with: name: linux-builds @@ -37,9 +35,7 @@ jobs: node-version: '22' cache: 'npm' - run: npm ci - - run: npm run build:win - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: npx electron-builder --win --publish never - uses: actions/upload-artifact@v4 with: name: windows-builds @@ -55,9 +51,7 @@ jobs: node-version: '22' cache: 'npm' - run: npm ci - - run: npm run build:mac - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: npx electron-builder --mac --publish never - uses: actions/upload-artifact@v4 with: name: macos-builds