Skip to content

Commit ade5d82

Browse files
committed
fix: configure path when checking out in codebuild CI
1 parent 0bc16cf commit ade5d82

File tree

5 files changed

+1
-8
lines changed

5 files changed

+1
-8
lines changed

.github/actions/custom-gradle-distribution-url/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ runs:
66
using: composite
77
steps:
88
- name: Configure gradle distribution URL
9+
working-directory: smithy-kotlin
910
run: |
1011
# Keep gradle version in sync with smithy-kotlin/gradle/wrapper/gradle-wrapper.properties
1112
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip

.github/workflows/artifact-size-metrics.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
5656
aws-region: us-west-2
5757
- name: Configure Gradle
58-
working-directory: ./smithy-kotlin
5958
uses: ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
6059
- name: Generate Artifact Size Metrics
6160
run: ./gradlew artifactSizeMetrics

.github/workflows/continuous-integration.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
java-version: 17
3939
cache: 'gradle'
4040
- name: Configure Gradle
41-
working-directory: ./smithy-kotlin
4241
uses: ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
4342
- name: Test
4443
shell: bash
@@ -61,7 +60,6 @@ jobs:
6160
java-version: 17
6261
cache: 'gradle'
6362
- name: Configure Gradle
64-
working-directory: ./smithy-kotlin
6563
uses: ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
6664
- name: Test
6765
shell: bash
@@ -89,7 +87,6 @@ jobs:
8987
java-version: 17
9088
cache: 'gradle'
9189
- name: Configure Gradle
92-
working-directory: ./smithy-kotlin
9390
uses: ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
9491
- name: Test
9592
shell: bash
@@ -119,10 +116,8 @@ jobs:
119116
path: 'aws-sdk-kotlin'
120117
repository: 'awslabs/aws-sdk-kotlin'
121118
- name: Configure Gradle for Smithy Kotlin
122-
working-directory: ./smithy-kotlin
123119
uses: ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
124120
- name: Configure Gradle for AWS SDK Kotlin
125-
working-directory: ./aws-sdk-kotlin
126121
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
127122
- name: Configure JDK
128123
uses: actions/setup-java@v3

.github/workflows/kat-transform.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
aws-region: us-west-2
3535

3636
- name: Configure Gradle
37-
working-directory: ./smithy-kotlin
3837
uses: ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
3938

4039
- name: Setup kat

.github/workflows/lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
- name: Checkout sources
2020
uses: actions/checkout@v4
2121
- name: Configure Gradle
22-
working-directory: ./smithy-kotlin
2322
uses: ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
2423
- name: Lint ${{ env.PACKAGE_NAME }}
2524
run: |

0 commit comments

Comments
 (0)