Skip to content

Commit

Permalink
fix: set roles for release (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgollucci authored Oct 28, 2024
1 parent e1e795c commit 5062652
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,19 @@ jobs:
- name: Commit changes
run: |
git commit -avm "chore(release): bump version"
- name: Assume role using AWS credentials
uses: aws-actions/[email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.CDK_DEPLOY_REGION }}
- name: Run build
env:
CDK_DEPLOY_ACCOUNT: ${{ secrets.CDK_DEPLOY_ACCOUNT }}
CDK_DEPLOY_REGION: ${{ secrets.CDK_DEPLOY_REGION }}
CDK_DEFAULT_ACCOUNT: ${{ secrets.CDK_DEFAULT_ACCOUNT }}
CDK_DEFAULT_REGION: ${{ secrets.CDK_DEFAULT_REGION }}
AWS_REGION: ${{ secrets.CDK_DEPLOY_REGION }}
run: pnpm run ci:gha
- name: Run Package
run: pnpm run jsii:pacmak:parallel
Expand Down

0 comments on commit 5062652

Please sign in to comment.