You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'AWS role input for drivers-github-tools/gpg-sign@v2'
7
+
required: true
8
+
aws_region_name:
9
+
description: 'AWS region name input for drivers-github-tools/gpg-sign@v2'
10
+
required: true
11
+
aws_secret_id:
12
+
description: 'AWS secret id input for drivers-github-tools/gpg-sign@v2'
13
+
required: true
14
+
npm_package_name:
15
+
description: 'The name for the npm package this repository represents'
16
+
required: true
17
+
18
+
runs:
19
+
using: composite
20
+
steps:
21
+
- uses: actions/download-artifact@v4
22
+
- name: Display structure of downloaded files
23
+
shell: bash
24
+
run: ls -R
25
+
26
+
- name: Make signatures directory
27
+
shell: bash
28
+
run: mkdir artifacts
29
+
30
+
- name: Set up drivers-github-tools
31
+
uses: mongodb-labs/drivers-github-tools/setup@v2
32
+
with:
33
+
aws_region_name: ${{ inputs.aws_region_name }}
34
+
aws_role_arn: ${{ inputs.aws_role_arn }}
35
+
aws_secret_id: ${{ inputs.aws_secret_id }}
36
+
37
+
- name: Untar all the existing builds.
38
+
shell: bash
39
+
run: for filename in build-*/*.tar.gz; do tar -xvzf ${filename} --strip-components=2 -C $(dirname "$filename"); done
40
+
41
+
- name: Display structure of downloaded files
42
+
shell: bash
43
+
run: ls -R
44
+
45
+
- name: Rename the mongocrypt.node files
46
+
shell: bash
47
+
run: for filename in build-*/*.node; do pattern=$(ls *.tar.gz | sed -r 's/mongodb-client-encryption(.*).tar.gz/\1/'); mv ${filename} mongocrypt-${pattern}.node; done
0 commit comments