setup-cog icon indicating copy to clipboard operation
setup-cog copied to clipboard

Document how to get more disk space

Open zeke opened this issue 1 year ago • 0 comments

Sometimes workflows fail because the environment runs out of disk space. Let's update the docs and examples with advice on how to work around this.

Use an Action to delete stuff

    steps:
      - name: Free disk pace
        uses: jlumbroso/free-disk-space@main
        with:
          tool-cache: false
          docker-images: false

      - name: Checkout
        uses: actions/checkout@v4

Use a bigger hosted runner

https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners#machine-sizes-for-larger-runners

zeke avatar May 16 '24 23:05 zeke