File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,16 @@ jobs:
1717 - name : Configure Gradle
1818 uses : awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
1919
20- - name : Configure error message
21- run : echo "ERROR_MESSAGE=WARNING smithy-kotlin release and version bump might be required before merging" >> $GITHUB_ENV
22-
2320 - name : Build SDK
24- run : ./gradlew test jvmTest || { echo "$ERROR_MESSAGE"; exit 1; }
21+ run : ./gradlew test jvmTest
2522
2623 - name : Build SDK client
2724 run : |
28- ./gradlew -Paws.services=s3 -Paws.kotlin.native=false bootstrap || { echo "$ERROR_MESSAGE"; exit 1; }
29- ./gradlew -Paws.kotlin.native=false build || { echo "$ERROR_MESSAGE"; exit 1; }
25+ ./gradlew -Paws.kotlin.native=false -Paws.services=s3 bootstrap
26+ ./gradlew -Paws.kotlin.native=false build
27+
28+ - name : Emit error message
29+ if : ${{ failure() }}
30+ run : |
31+ echo "::error ::Build failed. Did you forget to release smithy-kotlin and bump the dependency version?"
32+ exit 1
You can’t perform that action at this time.
0 commit comments