Skip to content

Commit 2087e67

Browse files
test with shared action
1 parent a8a3ede commit 2087e67

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/release.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,20 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v4
33+
3334
- name: actions/setup
3435
uses: ./.github/actions/setup
35-
- name: Get release version and release package file name
36-
id: get_vars
37-
shell: bash
38-
run: |
39-
package_version=$(jq --raw-output '.version' package.json)
40-
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
41-
echo "package_file=mongodb-legacy-${package_version}.tgz" >> "$GITHUB_OUTPUT"
36+
37+
- name: Load version and package info
38+
uses: baileympearson/drivers-github-tools/node/get_version_info@add-signing-env-action-for-node
4239

4340
- name: actions/compress_sign_and_upload
44-
uses: ./.github/actions/compress_sign_and_upload
41+
uses: baileympearson/drivers-github-tools/node/sign_js_only_package@add-signing-env-action-for-node
4542
with:
4643
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
47-
aws_region_name: 'us-east-1'
44+
aws_region_name: us-east-1
4845
aws_secret_id: ${{ secrets.AWS_SECRET_ID }}
49-
npm_package_name: 'mongodb-legacy'
46+
npm_package_name: mongodb-legacy
5047
dry_run: ${{ needs.release_please.outputs.release_created == '' }}
5148

5249
- name: Copy sbom file to release assets

0 commit comments

Comments
 (0)