Skip to content

Commit ecf37a1

Browse files
committed
pr feedback
1 parent 8a5c935 commit ecf37a1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release-readiness.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ name: Release readiness (snapshot dependency)
66
on:
77
pull_request:
88
branches: [ main ]
9-
workflow_dispatch:
109

1110
jobs:
1211
release-readiness:
@@ -19,12 +18,12 @@ jobs:
1918
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
2019

2120
- name: Configure error message
22-
run: echo "ERROR_MESSAGE=WARNING smithy-kotlin release and version bump might be required before merging!" >> $GITHUB_ENV
21+
run: echo "ERROR_MESSAGE=WARNING smithy-kotlin release and version bump might be required before merging" >> $GITHUB_ENV
2322

2423
- name: Build SDK
25-
run: ./gradlew test jvmTest || echo $ERROR_MESSAGE
24+
run: ./gradlew test jvmTest || { echo "$ERROR_MESSAGE"; exit 1; }
2625

2726
- name: Build SDK client
2827
run: |
29-
./gradlew -Paws.services=s3 -Paws.kotlin.native=false bootstrap || echo $ERROR_MESSAGE
30-
./gradlew build || echo $ERROR_MESSAGE
28+
./gradlew -Paws.services=s3 -Paws.kotlin.native=false bootstrap || { echo "$ERROR_MESSAGE"; exit 1; }
29+
./gradlew build || { echo "$ERROR_MESSAGE"; exit 1; }

0 commit comments

Comments
 (0)