File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ jobs:
1111 release-readiness :
1212 runs-on : ubuntu-latest
1313 steps :
14- - name : Checkout source
14+ - name : Checkout SDK
1515 uses : actions/checkout@v4
1616 with :
1717 path : ' aws-sdk-kotlin'
18- ref : ' ${{ github.head_ref }}'
1918
2019 - name : Configure Gradle
2120 uses : awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
4039
4140 - name : Check for smithy-kotlin unreleased changes
4241 run : |
43- cd aws-sdk-kotlin
44- SDK_BRANCH=$(git branch --show-current)
45- echo "aws-sdk-kotlin branch: $SDK_BRANCH"
42+ echo "aws-sdk-kotlin branch: $GITHUB_HEAD_REF"
4643
47- cd ../ smithy-kotlin
44+ cd smithy-kotlin
4845 SMITHY_KOTLIN_BRANCH=$(git branch --show-current)
4946 echo "smithy-kotlin branch: $SMITHY_KOTLIN_BRANCH"
5047
5956 echo "::error::Matching smithy-kotlin and aws-sdk-kotlin branches but no smithy-kotlin version bump"
6057 exit 1
6158 else
62- echo "::warning:: Matching smithy-kotlin and aws-sdk-kotlin branches with smithy-kotlin version bump detected"
59+ echo "Matching smithy-kotlin and aws-sdk-kotlin branches with smithy-kotlin version bump detected"
6360 fi
6461 fi
6562
You can’t perform that action at this time.
0 commit comments