Skip to content

Commit 5080337

Browse files
Copilottorosent
andcommitted
Update all CI jobs to use JDK 11
- Updated Integration Tests to use JDK_11 - Updated functions-e2e-tests job to use JDK 11 instead of JDK 8 - Updated functions-sample-tests job to use JDK 11 instead of JDK 8 Regarding Gradle 8.0: Upgrading would require also updating the protobuf plugin from 0.8.16 to 0.9.x for full compatibility, which is a larger change that could be done in a separate PR. Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
1 parent 2cae306 commit 5080337

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/build-validation.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ jobs:
8888
run: sleep 10
8989

9090
- name: Integration Tests with Gradle
91-
run: ./gradlew integrationTest || echo "TEST_FAILED=true" >> $GITHUB_ENV
91+
run: |
92+
export JAVA_HOME=$JDK_11
93+
./gradlew integrationTest || echo "TEST_FAILED=true" >> $GITHUB_ENV
9294
continue-on-error: true
9395

9496
- name: Kill Durable Task Emulator
@@ -124,11 +126,11 @@ jobs:
124126
steps:
125127
- uses: actions/checkout@v2
126128

127-
- name: Set up JDK 8
129+
- name: Set up JDK 11
128130
uses: actions/setup-java@v2
129131
with:
130-
java-version: '8'
131-
distribution: 'temurin'
132+
java-version: '11'
133+
distribution: 'microsoft'
132134

133135
- name: Setup Gradle
134136
uses: gradle/gradle-build-action@v2
@@ -163,11 +165,11 @@ jobs:
163165
steps:
164166
- uses: actions/checkout@v2
165167

166-
- name: Set up JDK 8
168+
- name: Set up JDK 11
167169
uses: actions/setup-java@v2
168170
with:
169-
java-version: '8'
170-
distribution: 'temurin'
171+
java-version: '11'
172+
distribution: 'microsoft'
171173

172174
- name: Setup Gradle
173175
uses: gradle/gradle-build-action@v2

0 commit comments

Comments
 (0)