Skip to content

Commit fefc785

Browse files
committed
misc: use URL only in workflows
1 parent 0492b3f commit fefc785

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
with:
3030
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
3131
aws-region: us-west-2
32+
- name: Configure Gradle
33+
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
3234
- name: Generate Artifact Size Metrics
3335
run: ./gradlew artifactSizeMetrics
3436
- name: Save Artifact Size Metrics
@@ -52,6 +54,8 @@ jobs:
5254
with:
5355
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
5456
aws-region: us-west-2
57+
- name: Configure Gradle
58+
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
5559
- name: Generate Artifact Size Metrics
5660
run: ./gradlew artifactSizeMetrics
5761
- name: Analyze Artifact Size Metrics

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
distribution: 'corretto'
3838
java-version: 17
3939
cache: 'gradle'
40+
- name: Configure Gradle
41+
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
4042
- name: Test
4143
shell: bash
4244
run: |
@@ -57,6 +59,8 @@ jobs:
5759
distribution: 'corretto'
5860
java-version: 17
5961
cache: 'gradle'
62+
- name: Configure Gradle
63+
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
6064
- name: Test
6165
shell: bash
6266
run: |

.github/workflows/kat-transform.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
3434
aws-region: us-west-2
3535

36+
- name: Configure Gradle
37+
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
38+
3639
- name: Setup kat
3740
uses: awslabs/aws-kotlin-repo-tools/.github/actions/setup-kat@main
3841

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout sources
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
21+
- name: Configure Gradle
22+
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
2123
- name: Lint ${{ env.PACKAGE_NAME }}
2224
run: |
2325
./gradlew ktlint

0 commit comments

Comments
 (0)