Skip to content

Commit

Permalink
use new, shared tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jun 26, 2024
1 parent 4847d69 commit bda0e66
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ on:
branches: [main]
workflow_dispatch: {}

name: Release

permissions:
contents: write
pull-requests: write
id-token: write

name: release-latest

jobs:
release_please:
runs-on: ubuntu-latest
Expand All @@ -18,10 +18,12 @@ jobs:
steps:
- id: release
uses: googleapis/release-please-action@v4

with:
target-branch: main

build:
needs: [release_please]
name: "Build native code"
name: "Perform any build or bundling steps, as necessary."
uses: ./.github/workflows/build.yml

ssdlc:
Expand All @@ -44,15 +46,14 @@ jobs:
with:
npm_package_name: kerberos

- name: actions/sign_and_upload_package
uses: baileympearson/drivers-github-tools/node/sign_js_only_package@add-signing-env-action-for-node
- name: actions/compress_sign_and_upload
uses: baileympearson/drivers-github-tools/node/sign_node_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: kerberos
dry_run: ${{ needs.release_please.outputs.release_created == '' }}
sign_native: true

- name: Copy sbom file to release assets
shell: bash
Expand All @@ -74,7 +75,7 @@ jobs:
with:
version: ${{ env.package_version }}
product_name: kerberos
dry_run: false
dry_run: ${{ needs.release_please.outputs.release_created == '' }}

publish:
needs: [release_please, ssdlc, build]
Expand Down

0 comments on commit bda0e66

Please sign in to comment.