diff --git a/.github/workflows/nightly-release.yaml b/.github/workflows/nightly-release.yaml index 5380d97e399..5f97d9b2860 100644 --- a/.github/workflows/nightly-release.yaml +++ b/.github/workflows/nightly-release.yaml @@ -128,7 +128,14 @@ jobs: asset_matrix: ${{ steps.asset_names.outputs.asset_matrix }} datestamp: ${{ env.DATESTAMP }} steps: - + - name: Remove unneeded frameworks to recover disk space + run: | + echo "-- Before --" + df -h + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + echo "-- After --" + df -h - name: Run Configuration Commands run: | DATESTAMP="$(date --utc '+%Y.%m.%d')" @@ -200,6 +207,15 @@ jobs: name: upload ${{ matrix.artifact }} steps: + - name: Remove unneeded frameworks to recover disk space + run: | + echo "-- Before --" + df -h + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android + echo "-- After --" + df -h + - uses: actions/download-artifact@v4 with: name: ${{ matrix.artifact }}