File tree Expand file tree Collapse file tree 2 files changed +34
-32
lines changed Expand file tree Collapse file tree 2 files changed +34
-32
lines changed Original file line number Diff line number Diff line change 1+ name : Setup Build
2+ description : >
3+ Checkout repositories and build dependencies
4+
5+ runs :
6+ using : composite
7+ steps :
8+ - name : Checkout tools
9+ uses : actions/checkout@v4
10+ with :
11+ path : ' aws-kotlin-repo-tools'
12+ repository : ' awslabs/aws-kotlin-repo-tools'
13+ sparse-checkout : |
14+ .github
15+ - name : Checkout aws-crt-kotlin
16+ uses : ./aws-kotlin-repo-tools/.github/actions/checkout-head
17+ with :
18+ # checkout aws-crt-kotlin as a sibling which will automatically make it an included build
19+ path : ' aws-crt-kotlin'
20+ repository : ' awslabs/aws-crt-kotlin'
21+ - name : Configure JDK
22+ uses : actions/setup-java@v3
23+ with :
24+ distribution : ' corretto'
25+ java-version : 17
26+ cache : ' gradle'
Original file line number Diff line number Diff line change 3131 steps :
3232 - name : Checkout sources
3333 uses : actions/checkout@v4
34- - name : Configure JDK
35- uses : actions/setup-java@v3
36- with :
37- distribution : ' corretto'
38- java-version : 17
39- cache : ' gradle'
34+ - name : Setup build
35+ uses : ./smithy-kotlin/.github/actions/setup-build
4036 - name : Test
4137 shell : bash
4238 run : |
5147 steps :
5248 - name : Checkout sources
5349 uses : actions/checkout@v4
54- - name : Configure JDK
55- uses : actions/setup-java@v3
56- with :
57- distribution : ' corretto'
58- java-version : 17
59- cache : ' gradle'
50+ - name : Setup build
51+ uses : ./smithy-kotlin/.github/actions/setup-build
6052 - name : Test
6153 shell : bash
6254 run : |
7668 steps :
7769 - name : Checkout sources
7870 uses : actions/checkout@v4
79- - name : Configure JDK
80- uses : actions/setup-java@v3
81- with :
82- distribution : ' corretto'
83- java-version : 17
84- cache : ' gradle'
71+ - name : Setup build
72+ uses : ./smithy-kotlin/.github/actions/setup-build
8573 - name : Test
8674 shell : bash
8775 run : |
@@ -95,26 +83,14 @@ jobs:
9583 uses : actions/checkout@v4
9684 with :
9785 path : ' smithy-kotlin'
98- - name : Checkout tools
99- uses : actions/checkout@v4
100- with :
101- path : ' aws-kotlin-repo-tools'
102- repository : ' awslabs/aws-kotlin-repo-tools'
103- ref : ' 0.2.3'
104- sparse-checkout : |
105- .github
86+ - name : Setup build
87+ uses : ./smithy-kotlin/.github/actions/setup-build
10688 - name : Checkout aws-sdk-kotlin
10789 uses : ./aws-kotlin-repo-tools/.github/actions/checkout-head
10890 with :
10991 # smithy-kotlin is checked out as a sibling dir which will automatically make it an included build
11092 path : ' aws-sdk-kotlin'
11193 repository : ' awslabs/aws-sdk-kotlin'
112- - name : Configure JDK
113- uses : actions/setup-java@v3
114- with :
115- distribution : ' corretto'
116- java-version : 17
117- cache : ' gradle'
11894 - name : Build and Test aws-sdk-kotlin downstream
11995 run : |
12096 # TODO - JVM only
You can’t perform that action at this time.
0 commit comments