[ci] Update JDK for combine step (#5794)

Also frees disk space from the combiner step.
This commit is contained in:
Ryan Blue
2023-10-20 21:18:04 -04:00
committed by GitHub
parent bee32f080e
commit 269b9647da

View File

@@ -193,6 +193,19 @@ jobs:
needs: [build-docker, build-host, build-documentation]
runs-on: ubuntu-22.04
steps:
- name: Free Disk Space
if: |
github.repository_owner == 'wpilibsuite' &&
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: false
docker-images: false
swap-storage: false
- uses: actions/checkout@v3
if: |
github.repository_owner == 'wpilibsuite' &&
@@ -223,7 +236,7 @@ jobs:
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
with:
distribution: 'zulu'
java-version: 11
java-version: 17
- name: Combine (Main)
if: |
github.repository_owner == 'wpilibsuite' &&