diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2289cff..790884e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,3 +68,32 @@ jobs: path: release/**/*.dmg retention-days: 30 + build-linux: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '22' + + - name: Install dependencies + run: npm ci + + - name: Install app dependencies + run: npx electron-builder install-app-deps + + - name: Build Linux app + run: npm run build:linux + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload Linux build + uses: actions/upload-artifact@v4 + with: + name: linux-installer + path: release/**/*.AppImage + retention-days: 30 +