File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ async function main() {
232
232
// install with "ignore-scripts" so that we don't attempt to download a prebuild
233
233
await run ( 'npm' , [ 'install' , '--ignore-scripts' ] ) ;
234
234
// The prebuild command will make both a .node file in `./build` (local and CI testing will run on current code)
235
- // it will also produce `./prebuild/xx.tgz`. prebuild has GH upload functionality .
235
+ // it will also produce `./prebuilds/mongodb-client-encryption-vVERSION-napi-vNAPI_VERSION-OS-ARCH.tar.gz` .
236
236
await run ( 'npm' , [ 'run' , 'prebuild' ] ) ;
237
237
}
238
238
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ name: build
9
9
10
10
jobs :
11
11
macos_windows_builds :
12
- outputs :
13
- artifact_id : ${{ steps.upload.outputs.artifact-id }}
14
12
strategy :
15
13
matrix :
16
14
os : [macos-11, macos-latest, windows-2019]
30
28
path : prebuilds/
31
29
if-no-files-found : ' error'
32
30
retention-days : 1
31
+ compression-level : 0
33
32
34
33
linux_builds :
35
34
outputs :
55
54
path : prebuilds/
56
55
if-no-files-found : ' error'
57
56
retention-days : 1
57
+ compression-level : 0
58
+
59
+ collect :
60
+ needs : [linux_builds, macos_windows_builds]
61
+ runs-on : ubunutu-latest
62
+ steps :
63
+ - uses : actions/download-artifact@v4
64
+
65
+ - name : Display structure of downloaded files
66
+ run : ls -R
67
+
68
+ - id : upload
69
+ name : Upload all prebuilds
70
+ uses : actions/upload-artifact@v4
71
+ with :
72
+ name : all-build
73
+ path : ' *.tar.gz'
74
+ if-no-files-found : ' error'
75
+ retention-days : 1
76
+ compression-level : 0
You can’t perform that action at this time.
0 commit comments