Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ec86a68

Browse files
committedMay 24, 2024
chore: add the all build
1 parent b4e5489 commit ec86a68

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed
 

‎.github/scripts/libmongocrypt.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ async function main() {
232232
// install with "ignore-scripts" so that we don't attempt to download a prebuild
233233
await run('npm', ['install', '--ignore-scripts']);
234234
// 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`.
236236
await run('npm', ['run', 'prebuild']);
237237
}
238238

‎.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ name: build
99

1010
jobs:
1111
macos_windows_builds:
12-
outputs:
13-
artifact_id: ${{ steps.upload.outputs.artifact-id }}
1412
strategy:
1513
matrix:
1614
os: [macos-11, macos-latest, windows-2019]
@@ -55,3 +53,21 @@ jobs:
5553
path: prebuilds/
5654
if-no-files-found: 'error'
5755
retention-days: 1
56+
57+
collect:
58+
needs: [linux_builds, macos_windows_builds]
59+
runs-on: ubunutu-latest
60+
steps:
61+
- uses: actions/download-artifact@v4
62+
63+
- name: Display structure of downloaded files
64+
run: ls -R
65+
66+
- id: upload
67+
name: Upload all prebuilds
68+
uses: actions/upload-artifact@v4
69+
with:
70+
name: all-build
71+
path: *.tar.gz
72+
if-no-files-found: 'error'
73+
retention-days: 1

0 commit comments

Comments
 (0)
Please sign in to comment.