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:
@@ -12,6 +12,12 @@ inputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Free Disk Space
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
||||
with:
|
||||
large-packages: false
|
||||
docker-images: false
|
||||
- name: Set Up Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user