From 9f5da63fd0076eaf87f3534e739a2f6af10693b0 Mon Sep 17 00:00:00 2001 From: Fawaz Ahmed Date: Wed, 9 Oct 2024 15:25:46 +0530 Subject: [PATCH 1/2] fix haskell path for ubuntu-24.04 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 04f3923..055bc95 100644 --- a/action.yml +++ b/action.yml @@ -126,7 +126,7 @@ runs: sudo rm -rf /usr/local/lib/android fi if [[ ${{ inputs.remove-haskell }} == 'true' ]]; then - sudo rm -rf /opt/ghc + sudo rm -rf /usr/local/.ghcup fi if [[ ${{ inputs.remove-codeql }} == 'true' ]]; then sudo rm -rf /opt/hostedtoolcache/CodeQL From 029bd6948a54a79f7e89cbb20c4d4a7cbe1be81c Mon Sep 17 00:00:00 2001 From: Fawaz Ahmed Date: Fri, 30 Jan 2026 22:07:06 +0530 Subject: [PATCH 2/2] Exit if /mnt doesn't exist https://github.com/easimon/maximize-build-space/pull/57 https://github.com/easimon/maximize-build-space/pull/56 --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 055bc95..a68ea9d 100644 --- a/action.yml +++ b/action.yml @@ -77,6 +77,7 @@ runs: - name: Maximize build disk space shell: bash run: | + ! mountpoint -q /mnt && exit 0 set -euo pipefail BUILD_MOUNT_PATH="${{ inputs.build-mount-path }}"