Files
toor 01d9e301fc
Build / build (push) Canceled after 0s
Playwright / browser (push) Canceled after 0s
initialize Electron desktop app and remove unused files
2026-10-25 01:09:01 +08:00

41 lines
1.0 KiB
YAML

name: Electron packages
on:
workflow_dispatch:
jobs:
package:
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
artifacts: |
release/*.dmg
release/*.zip
- os: windows-latest
artifacts: release/*.exe
- os: ubuntu-latest
artifacts: |
release/*.AppImage
release/*.deb
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci --ignore-scripts
- run: npm rebuild node-pty
- run: npm run harness:check
- run: npm run electron:setup
- run: npm run dist
env:
CSC_IDENTITY_AUTO_DISCOVERY: 'false'
- uses: actions/upload-artifact@v4
with:
name: hermes-desktop-${{ matrix.os }}
path: ${{ matrix.artifacts }}
if-no-files-found: error