Skip to content

Commit

Permalink
Add Kotlin CDK sample to release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pcholakov committed Dec 12, 2023
1 parent e9a664c commit 5d66bbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ jobs:
arguments: check
build-root-directory: kotlin/hello-world-lambda

# CDK projects are a hybrid of TypeScript CDK stack + platform-specific handler code; the top-level npm CDK build
# is responsible for verifying the language-specific handler cod. They are also not a part of the TypeScript
# examples workspace, so we test them separately here.
- name: Test kotlin/hello-world-lambda-cdk
if: github.event.inputs.sdkTypescriptVersion != '' && github.event.inputs.sdkJavaVersion != ''
run: npm --prefix kotlin/hello-world-lambda-cdk run verify --workspaces

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ jobs:
java-hello-world-http.zip
java-hello-world-lambda.zip
kotlin-hello-world-http.zip
kotlin-hello-world-lambda.zip
kotlin-hello-world-lambda.zip
kotlin-hello-world-lambda-cdk.zip

0 comments on commit 5d66bbb

Please sign in to comment.