Skip to content

Commit

Permalink
test with shared action
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jun 24, 2024
1 parent a8a3ede commit 2087e67
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: actions/setup
uses: ./.github/actions/setup
- name: Get release version and release package file name
id: get_vars
shell: bash
run: |
package_version=$(jq --raw-output '.version' package.json)
echo "package_version=${package_version}" >> "$GITHUB_OUTPUT"
echo "package_file=mongodb-legacy-${package_version}.tgz" >> "$GITHUB_OUTPUT"

- name: Load version and package info
uses: baileympearson/drivers-github-tools/node/get_version_info@add-signing-env-action-for-node

- name: actions/compress_sign_and_upload
uses: ./.github/actions/compress_sign_and_upload
uses: baileympearson/drivers-github-tools/node/sign_js_only_package@add-signing-env-action-for-node
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
aws_region_name: 'us-east-1'
aws_region_name: us-east-1
aws_secret_id: ${{ secrets.AWS_SECRET_ID }}
npm_package_name: 'mongodb-legacy'
npm_package_name: mongodb-legacy
dry_run: ${{ needs.release_please.outputs.release_created == '' }}

- name: Copy sbom file to release assets
Expand Down

0 comments on commit 2087e67

Please sign in to comment.