initialize Electron desktop app and remove unused files
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
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
|
||||
Reference in New Issue
Block a user