Skip to content

Commit 8edb15f

Browse files
committed
fix
1 parent 95d2757 commit 8edb15f

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,9 @@ jobs:
6161
chmod +x ./build/fnpack-1.0.4-linux-amd64
6262
./build/fnpack-1.0.4-linux-amd64 build app
6363
64-
- name: Build x86 package
64+
- name: Rename x86 package
6565
run: mv code.editor.fpk code.editor.x86.fpk
6666

67-
- name: Clear x86 api
68-
run: rm ./app/app/server/api
69-
7067
- name: Build arm backend
7168
run: npm run build:backend:arm
7269

@@ -79,12 +76,9 @@ jobs:
7976
chmod +x ./build/fnpack-1.0.4-linux-amd64
8077
./build/fnpack-1.0.4-linux-amd64 build app
8178
82-
- name: Build arm package
79+
- name: Rename arm package
8380
run: mv code.editor.fpk code.editor.arm.fpk
8481

85-
- name: Show files
86-
run: ls
87-
8882
- name: Release
8983
uses: ncipollo/[email protected]
9084
with:

backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "code.editor.server",
33
"scripts": {
44
"dev": "node --watch src/koa.js",
5-
"build": "pkg -t node16-linux-x64 ./src/cgi.js --output ../app/app/server/api",
6-
"build:arm": "pkg -t node16-linux-arm64 ./src/cgi.js --output ../app/app/server/api"
5+
"build": "pkg -t node16-linux-x64 ./src/cgi.js --output ../app/app/server/api --no-bytecode",
6+
"build:arm": "pkg -t node16-linux-arm64 ./src/cgi.js --output ../app/app/server/api --no-bytecode"
77
},
88
"dependencies": {
99
"@koa/cors": "^5.0.0",

0 commit comments

Comments
 (0)