diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 13d12d3..af2168e 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -219,8 +219,10 @@ jobs: run: | echo "CRAFT_FONTS_DIR=$CRAFT_FONTS_PATH" >> "$GITHUB_ENV" echo "CRAFT_FONTS_REQUIRED=1" >> "$GITHUB_ENV" + # In the background, as in gate.yml: the space is free before the build needs it. - name: Free disk space - run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + run: | + nohup sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL /dev/null 2>&1 & - name: Install Linux build dependencies uses: storytold/craft-common-actions/actions/install-apt-packages@main with: