diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bbf5edf..beb28e9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -24,6 +24,19 @@ jobs: - name: Check sizes of directories in tools cache run: du -sh /opt/hostedtoolcache/* | sort -h + # A recent run of du -sh /opt/hostedtoolcache/* | sort -h yielded: + # 24K /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk + # 217M /opt/hostedtoolcache/Ruby + # 520M /opt/hostedtoolcache/PyPy + # 574M /opt/hostedtoolcache/node + # 1.1G /opt/hostedtoolcache/go + # 1.7G /opt/hostedtoolcache/CodeQL + # 1.9G /opt/hostedtoolcache/Python + # Since we are just building a Docker container we delete some unused + # pre-installed tools to make space. + - name: Free up disk space by deleting /opt/hostedtoolcache/CodeQL + run: rm -rf /opt/hostedtoolcache/CodeQL + # Login against a Docker registry # https://github.com/docker/login-action - name: Log into registry diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 242780f..c689da7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -17,6 +17,19 @@ jobs: packages: write steps: + # A recent run of du -sh /opt/hostedtoolcache/* | sort -h yielded: + # 24K /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk + # 217M /opt/hostedtoolcache/Ruby + # 520M /opt/hostedtoolcache/PyPy + # 574M /opt/hostedtoolcache/node + # 1.1G /opt/hostedtoolcache/go + # 1.7G /opt/hostedtoolcache/CodeQL + # 1.9G /opt/hostedtoolcache/Python + # Since we are just building a Docker container we delete some unused + # pre-installed tools to make space. + - name: Free up disk space by deleting /opt/hostedtoolcache/CodeQL + run: rm -rf /opt/hostedtoolcache/CodeQL + # Login against a Docker registry # https://github.com/docker/login-action - name: Log into registry diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b60312c..ab3d4d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,19 @@ jobs: packages: write steps: + # A recent run of du -sh /opt/hostedtoolcache/* | sort -h yielded: + # 24K /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk + # 217M /opt/hostedtoolcache/Ruby + # 520M /opt/hostedtoolcache/PyPy + # 574M /opt/hostedtoolcache/node + # 1.1G /opt/hostedtoolcache/go + # 1.7G /opt/hostedtoolcache/CodeQL + # 1.9G /opt/hostedtoolcache/Python + # Since we are just building a Docker container we delete some unused + # pre-installed tools to make space. + - name: Free up disk space by deleting /opt/hostedtoolcache/CodeQL + run: rm -rf /opt/hostedtoolcache/CodeQL + # Login against a Docker registry # https://github.com/docker/login-action - name: Log into registry