File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
.github/actions/setup-build Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,19 @@ description: >
55runs :
66 using : composite
77 steps :
8- - name : Checkout tools
8+ - name : Extract aws-kotlin-repo-tools version
9+ working-directory : ./smithy-kotlin
10+ run : |
11+ export AWS_KOTLIN_REPO_TOOLS_VERSION=$(grep '^aws-kotlin-repo-tools-version' ./gradle/libs.versions.toml | sed -E 's/.*= "(.*)"/\1/')
12+ echo "Using aws-kotlin-repo-tools version $AWS_KOTLIN_REPO_TOOLS_VERSION"
13+ echo "aws_kotlin_repo_tools_version=$AWS_KOTLIN_REPO_TOOLS_VERSION" >> $GITHUB_ENV
14+
15+ - name : Checkout aws-kotlin-repo-tools
916 uses : actions/checkout@v4
1017 with :
1118 path : ' aws-kotlin-repo-tools'
1219 repository : ' awslabs/aws-kotlin-repo-tools'
13- ref : ' kn-main '
20+ ref : ${{ env.aws_kotlin_repo_tools_version }}
1421 sparse-checkout : |
1522 .github
1623
You can’t perform that action at this time.
0 commit comments