Skip to content

Commit

Permalink
Remove explicit ref to java8 in GHA; bump default GHA java version to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Jul 3, 2024
1 parent e4e9b2b commit f910375
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-environment-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ inputs.java-version == 'default' && '8' || inputs.java-version }}
java-version: ${{ inputs.java-version == 'default' && '17' || inputs.java-version }}
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ jobs:
8
- name: run jar Java${{ matrix.java_version }} script
run: |
./gradlew runners:google-cloud-dataflow-java:testJar :runners:google-cloud-dataflow-java:worker:shadowJar \
-Dorg.gradle.java.home=$JAVA_HOME_8_X64
./gradlew runners:google-cloud-dataflow-java:testJar :runners:google-cloud-dataflow-java:worker:shadowJar
- name: run validatesRunner Java${{ matrix.java_version }} script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ jobs:
8
- name: run jar Java${{ matrix.java_version }} script
run: |
./gradlew :runners:direct-java:shadowJar :runners:direct-java:shadowTestJar \
-Dorg.gradle.java.home=$JAVA_HOME_8_X64
./gradlew :runners:direct-java:shadowJar :runners:direct-java:shadowTestJar
- name: run validatesRunner Java${{ matrix.java_version }} script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ jobs:
8
- name: run jar Java8 script
run: |
./gradlew :runners:flink:1.15:jar :runners:flink:1.15:testJar \
-Dorg.gradle.java.home=$JAVA_HOME_8_X64
./gradlew :runners:flink:1.15:jar :runners:flink:1.15:testJar
- name: run validatesRunner Java11 script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ jobs:
8
- name: run jar Java8 script
run: |
./gradlew :runners:spark:3:jar :runners:spark:3:testJar \
-Dorg.gradle.java.home=$JAVA_HOME_8_X64
./gradlew :runners:spark:3:jar :runners:spark:3:testJar
- name: run validatesRunner Java11 script
uses: ./.github/actions/gradle-command-self-hosted-action
with:
Expand Down

0 comments on commit f910375

Please sign in to comment.