Commit 61f02c1 1 parent f00bb19 commit 61f02c1 Copy full SHA for 61f02c1
File tree 3 files changed +27
-8
lines changed
3 files changed +27
-8
lines changed Original file line number Diff line number Diff line change 9
9
- master
10
10
11
11
jobs :
12
+ build-pkg :
13
+ runs-on : ubuntu-24.04
14
+
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+
18
+ - uses : pnpm/action-setup@v4
19
+ - uses : actions/setup-node@v4
20
+ with :
21
+ node-version : ' 22'
22
+ cache : ' pnpm'
23
+
24
+ - run : pnpm install --frozen-lockfile
25
+ - run : sudo npm install -g @yao-pkg/pkg
26
+
27
+ - run : npm run build-pkg
28
+
29
+ - run : dist-pkg/flood-linuxstatic-x64 --help
30
+
12
31
build-real :
13
32
runs-on : ubuntu-24.04
14
33
33
52
34
53
build :
35
54
# so we do not need to update GitHub repo config
36
- needs : build-real
55
+ needs : [ build-real, build-pkg]
37
56
runs-on : ubuntu-latest
38
57
39
58
strategy :
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ jobs:
195
195
sudo wget https://github.com/jesec/ldid-static/releases/download/v2.1.4/ldid-amd64 -O /usr/local/bin/ldid
196
196
sudo chmod +x /usr/local/bin/ldid
197
197
198
- - run : sudo npm install -g pkg
198
+ - run : sudo npm install -g @yao-pkg/ pkg
199
199
200
200
- uses : actions/download-artifact@v4
201
201
with :
Original file line number Diff line number Diff line change 38
38
" dist/**/*.map"
39
39
],
40
40
"targets" : [
41
- " node18 -linuxstatic-x64" ,
42
- " node18 -linuxstatic-arm64" ,
43
- " node18 -macos-x64" ,
44
- " node18 -macos-arm64" ,
45
- " node18 -win-x64" ,
46
- " node18 -win-arm64"
41
+ " node22 -linuxstatic-x64" ,
42
+ " node22 -linuxstatic-arm64" ,
43
+ " node22 -macos-x64" ,
44
+ " node22 -macos-arm64" ,
45
+ " node22 -win-x64" ,
46
+ " node22 -win-arm64"
47
47
]
48
48
},
49
49
"scripts" : {
You can’t perform that action at this time.
0 commit comments