diff --git a/action.yml b/action.yml index 04f3923..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 }}" @@ -126,7 +127,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