Skip to content

Commit f68ec3f

Browse files
committed
m
1 parent fdc3f7b commit f68ec3f

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ jobs:
3636
matrix:
3737
platform:
3838
- distribution: openjdk
39+
runtime: corretto
3940
image: "aws/codebuild/standard:7.0"
4041
- distribution: corretto
42+
runtime: corretto
4143
image: "aws/codebuild/amazonlinux2-x86_64-standard:5.0" # Corretto only runs on AL2
4244
version: [ 8, 11 ]
4345
steps:
@@ -57,7 +59,7 @@ jobs:
5759
image-override: ${{ matrix.platform.image }}
5860
env-vars-for-codebuild: JAVA_ENV_VERSION
5961
env:
60-
JAVA_ENV_VERSION: ${{ matrix.platform.distribution }}${{ matrix.version }}
62+
JAVA_ENV_VERSION: ${{ matrix.platform.runtime }}${{ matrix.version }}
6163
vectorTestsMasterKeyProvider:
6264
name: Vector Tests MasterKeyProvider
6365
runs-on: ubuntu-latest
@@ -66,8 +68,10 @@ jobs:
6668
matrix:
6769
platform:
6870
- distribution: openjdk
71+
runtime: corretto
6972
image: "aws/codebuild/standard:7.0"
7073
- distribution: corretto
74+
runtime: corretto
7175
image: "aws/codebuild/amazonlinux2-x86_64-standard:5.0" # Corretto only runs on AL2
7276
version: [ 8, 11 ]
7377
steps:
@@ -87,7 +91,7 @@ jobs:
8791
image-override: ${{ matrix.platform.image }}
8892
env-vars-for-codebuild: JAVA_ENV_VERSION
8993
env:
90-
JAVA_ENV_VERSION: ${{ matrix.platform.distribution }}${{ matrix.version }}
94+
JAVA_ENV_VERSION: ${{ matrix.platform.runtime }}${{ matrix.version }}
9195
netVectorTests:
9296
name: ESDK-NET Vector Tests
9397
runs-on: ubuntu-latest
@@ -96,8 +100,10 @@ jobs:
96100
matrix:
97101
platform:
98102
- distribution: openjdk
103+
runtime: corretto
99104
image: "aws/codebuild/standard:7.0"
100105
- distribution: corretto
106+
runtime: corretto
101107
image: "aws/codebuild/amazonlinux2-x86_64-standard:5.0" # Corretto only runs on AL2
102108
version: [ 8, 11 ]
103109
steps:
@@ -117,7 +123,7 @@ jobs:
117123
image-override: ${{ matrix.platform.image }}
118124
env-vars-for-codebuild: JAVA_ENV_VERSION
119125
env:
120-
JAVA_ENV_VERSION: ${{ matrix.platform.distribution }}${{ matrix.version }}
126+
JAVA_ENV_VERSION: ${{ matrix.platform.runtime }}${{ matrix.version }}
121127
generateTestVectors:
122128
name: Generate Vectors
123129
runs-on: ubuntu-latest
@@ -127,8 +133,10 @@ jobs:
127133
matrix:
128134
platform:
129135
- distribution: openjdk
136+
runtime: corretto
130137
image: "aws/codebuild/standard:7.0"
131138
- distribution: corretto
139+
runtime: corretto
132140
image: "aws/codebuild/amazonlinux2-x86_64-standard:5.0" # Corretto only runs on AL2
133141
version: [ 8, 11 ]
134142
steps:
@@ -148,7 +156,7 @@ jobs:
148156
image-override: ${{ matrix.platform.image }}
149157
env-vars-for-codebuild: JAVA_ENV_VERSION
150158
env:
151-
JAVA_ENV_VERSION: ${{ matrix.platform.distribution }}${{ matrix.version }}
159+
JAVA_ENV_VERSION: ${{ matrix.platform.runtime }}${{ matrix.version }}
152160
releaseCI:
153161
name: Release CI
154162
runs-on: ubuntu-latest
@@ -179,8 +187,10 @@ jobs:
179187
matrix:
180188
platform:
181189
- distribution: openjdk
190+
runtime: corretto
182191
image: "aws/codebuild/standard:7.0"
183192
- distribution: corretto
193+
runtime: corretto
184194
image: "aws/codebuild/amazonlinux2-x86_64-standard:5.0" # Corretto only runs on AL2
185195
version: [ 8, 11 ]
186196
steps:
@@ -203,6 +213,6 @@ jobs:
203213
JAVA_NUMERIC_VERSION,
204214
GITHUB_EVENT_NAME
205215
env:
206-
JAVA_ENV_VERSION: ${{ matrix.platform.distribution }}${{ matrix.version }}
216+
JAVA_ENV_VERSION: ${{ matrix.platform.runtime }}${{ matrix.version }}
207217
JAVA_NUMERIC_VERSION: ${{ matrix.version }}
208218
GITHUB_EVENT_NAME: $GITHUB_EVENT_NAME

0 commit comments

Comments
 (0)