Skip to content

Commit c13e5c0

Browse files
committed
workflow: add actions to build machine setup
1 parent 58b53d3 commit c13e5c0

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
run: tar -czvf /tmp/xcpc-tools-macos.tar.gz dist/pkg/xcpc-tools-macos
4343
- name: Create Tar for Linux
4444
run: tar -czvf /tmp/xcpc-tools-linux.tar.gz dist/pkg/xcpc-tools-linux
45+
- name: Build Machine Setup package
46+
run: |
47+
cd packages/machine-setup
48+
yarn neu update
49+
yarn neu build --clean
50+
- name: Create Tar for Machine Setup
51+
run: tar -czvf /tmp/xcpc-tools-machine-setup.tar.gz packages/machine-setup/dist/hydro-xcpctools-machine-setup
4552
- name: Get release version and commit
4653
id: tag
4754
run: |
@@ -56,5 +63,6 @@ jobs:
5663
/tmp/xcpc-tools-win.zip
5764
/tmp/xcpc-tools-macos.tar.gz
5865
/tmp/xcpc-tools-linux.tar.gz
66+
/tmp/xcpc-tools-machine-setup-app.tar.gz
5967
env:
6068
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@hydrooj/eslint-config": "^1.1.1",
2121
"@hydrooj/register": "^1.0.3",
2222
"@hydrooj/utils": "^1.4.28",
23+
"@neutralinojs/neu": "^11.3.0",
2324
"@types/node": "^20.16.11",
2425
"@yao-pkg/pkg": "^5.15.0",
2526
"dejavu-fonts-ttf": "^2.37.3",

packages/machine-setup/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@neutralinojs/lib": "^5.0.0",
12+
"@neutralinojs/lib": "^5.4.0",
1313
"vue": "^3.4.19"
1414
},
1515
"devDependencies": {

packages/machine-setup/neutralino.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"binaryName": "hydro-xcpctools-machine-setup",
4444
"resourcesPath": "/frontend/",
4545
"extensionsPath": "/extensions/",
46-
"binaryVersion": "5.0.0",
47-
"clientVersion": "5.0.0",
46+
"binaryVersion": "5.4.0",
47+
"clientVersion": "5.4.0",
4848
"frontendLibrary": {
4949
"projectPath": "/frontend/",
5050
"initCommand": "yarn",

0 commit comments

Comments
 (0)