Skip to content

Commit a5db103

Browse files
[feat ✨] executeme icon added & CI created for build and release electron app 🥙
1 parent c37146a commit a5db103

21 files changed

Lines changed: 72 additions & 3 deletions

File tree

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Build/release Electron app
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
tags:
7+
- v*.*.*
8+
9+
jobs:
10+
release:
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, macos-latest, windows-latest]
16+
17+
steps:
18+
- name: Check out Git repository
19+
uses: actions/checkout@v3
20+
21+
- name: Install Node.js
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 20
25+
26+
- name: Install Dependencies
27+
run: npm install
28+
29+
- name: build-linux
30+
if: matrix.os == 'ubuntu-latest'
31+
run: npm run build:linux
32+
33+
- name: build-mac
34+
if: matrix.os == 'macos-latest'
35+
run: npm run build:mac
36+
37+
- name: build-win
38+
if: matrix.os == 'windows-latest'
39+
run: npm run build:win
40+
41+
- name: release
42+
uses: softprops/action-gh-release@v1
43+
with:
44+
draft: true
45+
files: |
46+
dist/*.exe
47+
dist/*.zip
48+
dist/*.dmg
49+
dist/*.AppImage
50+
dist/*.snap
51+
dist/*.deb
52+
dist/*.rpm
53+
dist/*.tar.gz
54+
dist/*.yml
55+
dist/*.blockmap
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.RELEASE_NOTE_WRITE }}

.github/workflows/release-tag.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
name: Create Release
2+
13
on:
24
push:
5+
branches: ["main"]
36
tags:
4-
- "v*"
5-
name: Create Release
7+
- v*.*.*
68

79
jobs:
810
build:

browsers/icon.png

35.1 KB
Loading

browsers/icons/mac/icon.icns

1.08 MB
Binary file not shown.

browsers/icons/png/1024x1024.png

546 KB
Loading

browsers/icons/png/128x128.png

17.3 KB
Loading

browsers/icons/png/16x16.png

677 Bytes
Loading

browsers/icons/png/24x24.png

1.16 KB
Loading

browsers/icons/png/256x256.png

60.6 KB
Loading

browsers/icons/png/32x32.png

1.79 KB
Loading

0 commit comments

Comments
 (0)