Add Windows installe and portable app
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
name: Desktop builds
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: windows-latest
|
||||
command: npm run dist:win
|
||||
artifact: windows
|
||||
files: release/*.exe
|
||||
- os: ubuntu-22.04
|
||||
command: npm run dist:linux
|
||||
artifact: linux
|
||||
files: |
|
||||
release/*.AppImage
|
||||
release/*.deb
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
cache: npm
|
||||
- run: npm ci
|
||||
- run: ${{ matrix.command }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: daybreak-mail-${{ matrix.artifact }}
|
||||
path: ${{ matrix.files }}
|
||||
if-no-files-found: error
|
||||
Reference in New Issue
Block a user