diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbb5029..6374671 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/configure-aws-credentials@v4.0.2 + 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