Use ubuntu-latest GitHub Actions runner for Linux builds

A full build requires a lot of disk space. I believe this is mostly
due to the large number of Docker images that the tests utilize. By
default, the amount of free disk space on an ubuntu-latest runner
does not meet or needs. In this commit, we work around this using
the free-disk-space action which deletes things like the Android
SDK and Haskell installations that are both large and not needed by
our builds.

Closes gh-40705
This commit is contained in:
Andy Wilkinson
2024-05-13 12:08:15 +01:00
parent 1a1fa01ec3
commit 90aae5a0b7
6 changed files with 16 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ jobs:
build-and-stage-release:
if: ${{ github.repository == 'spring-projects/spring-boot' }}
name: Build and Stage Release
runs-on: ubuntu22-8-32-OSS
runs-on: ubuntu-latest
steps:
- name: Check Out Code
uses: actions/checkout@v4