Skip to content

Commit 2fd08c5

Browse files
committed
misc: revert to using multiple run commands
1 parent bf6d505 commit 2fd08c5

File tree

3 files changed

+12
-16
lines changed

3 files changed

+12
-16
lines changed

.github/actions/aws-kotlin-repo-tools-custom-gradle-distribution-url/action.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/continuous-integration.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
restore-keys: |
2929
${{ runner.os }}-gradle-
3030
- name: Configure Gradle
31-
uses: .github/actions/aws-kotlin-repo-tools-custom-gradle-distribution-url
31+
run: |
32+
# Keep gradle version in sync with aws-kotlin-repo-tools/gradle/wrapper/gradle-wrapper.properties
33+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
3234
- name: Build and Test ${{ env.PACKAGE_NAME }}
3335
run: |
3436
./gradlew build
@@ -47,7 +49,9 @@ jobs:
4749
restore-keys: |
4850
${{ runner.os }}-gradle-
4951
- name: Configure Gradle
50-
uses: .github/actions/aws-kotlin-repo-tools-custom-gradle-distribution-url
52+
run: |
53+
# Keep gradle version in sync with aws-kotlin-repo-tools/gradle/wrapper/gradle-wrapper.properties
54+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
5155
- name: Build and Test ${{ env.PACKAGE_NAME }}
5256
run: |
5357
./gradlew build
@@ -58,7 +62,9 @@ jobs:
5862
- name: Checkout sources
5963
uses: actions/checkout@v2
6064
- name: Configure Gradle
61-
uses: .github/actions/aws-kotlin-repo-tools-custom-gradle-distribution-url
65+
run: |
66+
# Keep gradle version in sync with aws-kotlin-repo-tools/gradle/wrapper/gradle-wrapper.properties
67+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
6268
- name: Build and Test ${{ env.PACKAGE_NAME }}
6369
run: |
6470
./gradlew build

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- name: Checkout sources
2020
uses: actions/checkout@v2
2121
- name: Configure Gradle
22-
uses: .github/actions/aws-kotlin-repo-tools-custom-gradle-distribution-url
22+
run: |
23+
# Keep gradle version in sync with aws-kotlin-repo-tools/gradle/wrapper/gradle-wrapper.properties
24+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
2325
- name: Lint ${{ env.PACKAGE_NAME }}
2426
run: |
2527
./gradlew ktlint

0 commit comments

Comments
 (0)