Skip to content

Commit 1cabf44

Browse files
committed
ci: Add GitHub Actions workflow for build and release
1 parent 0913055 commit 1cabf44

File tree

3 files changed

+45
-14
lines changed

3 files changed

+45
-14
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,8 @@ jobs:
8181

8282
- name: Prepare release assets
8383
run: |
84-
# 1. Создаем чистую папку для файлов релиза
8584
mkdir release_assets
86-
87-
# 2. Копируем ТОЛЬКО нужные файлы (установщики, портативные версии, AppImage и latest*.yml)
88-
# Эта команда рекурсивно найдет нужные файлы во всех подпапках artifacts и скопирует их в release_assets
89-
find artifacts \( -name "*.exe" -o -name "*.AppImage" -o -name "latest*.yml" \) -exec cp {} release_assets/ \;
85+
find artifacts \( -name '*Setup*.exe' -o -name '*Portable*.exe' -o -name '*.AppImage' -o -name 'latest*.yml' \) -exec cp {} release_assets/ \;
9086
9187
- name: List final release assets (after cleanup)
9288
run: ls -R release_assets/

builder-intellect.json

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,31 @@
11
{
22
"appId": "com.vavol.openipcdashboard.intellect",
33
"productName": "DASHBOARD for OpenIPC Intellect",
4-
"artifactName": "${productName}-${os}-${arch}-Setup-${version}.${ext}",
5-
"directories": { "output": "dist" },
6-
"extraResources": [{ "from": "extra/analytics/", "to": "analytics" }],
7-
"win": { "target": ["nsis", "portable"] },
8-
"linux": { "target": "AppImage" },
4+
"directories": {
5+
"output": "dist"
6+
},
7+
"win": {
8+
"target": [
9+
"nsis",
10+
"portable"
11+
]
12+
},
13+
"nsis": {
14+
"artifactName": "${productName}-Setup-${version}.${ext}"
15+
},
16+
"portable": {
17+
"artifactName": "${productName}-Portable-${version}.${ext}"
18+
},
19+
"linux": {
20+
"target": "AppImage",
21+
"artifactName": "${productName}-${version}.${ext}"
22+
},
23+
"extraResources": [
24+
{
25+
"from": "extra/analytics/",
26+
"to": "analytics"
27+
}
28+
],
929
"files": [
1030
"**/*",
1131
"!python_src/",

builder-lite.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
{
22
"appId": "com.vavol.openipcdashboard.lite",
33
"productName": "DASHBOARD for OpenIPC Lite",
4-
"artifactName": "${productName}-${os}-${arch}-Setup-${version}.${ext}",
5-
"directories": { "output": "dist" },
6-
"win": { "target": ["nsis", "portable"] },
7-
"linux": { "target": "AppImage" },
4+
"directories": {
5+
"output": "dist"
6+
},
7+
"win": {
8+
"target": [
9+
"nsis",
10+
"portable"
11+
]
12+
},
13+
"nsis": {
14+
"artifactName": "${productName}-Setup-${version}.${ext}"
15+
},
16+
"portable": {
17+
"artifactName": "${productName}-Portable-${version}.${ext}"
18+
},
19+
"linux": {
20+
"target": "AppImage",
21+
"artifactName": "${productName}-${version}.${ext}"
22+
},
823
"files": [
924
"**/*",
1025
"!modules/",

0 commit comments

Comments
 (0)