gha: added free-disk-space task

This commit is contained in:
Vivian 2022-09-09 20:48:13 +02:00
parent 2c34be5ae4
commit d43e8cc458
2 changed files with 18 additions and 1 deletions

View file

@ -6,10 +6,25 @@ on:
jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.2
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: true
- name: "Install Nix ❄️"
uses: cachix/install-nix-action@v15