π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix Linux workflow space issue by adding disk cleanup step
Prateek Sunal0c8e74b72701
diff --git a/.github/workflows/auth-release.yml b/.github/workflows/auth-release.ymlindex bf0601081d..e1548d24af 100644--- a/.github/workflows/auth-release.yml+++ b/.github/workflows/auth-release.yml@@ -48,6 +48,38 @@ jobs:with:submodules: recursive+ - name: Free up disk space+ run: |+ echo "Initial disk usage:"+ df -h /+ # Get available space in KB+ INITIAL=$(df / | awk 'NR==2 {print $4}')++ echo -e "\n=== Removing .NET SDK (~20-25GB) ==="+ BEFORE=$(df / | awk 'NR==2 {print $4}')+ START=$(date +%s)+ sudo rm -rf /usr/share/dotnet+ END=$(date +%s)+ AFTER=$(df / | awk 'NR==2 {print $4}')+ FREED=$(( (AFTER - BEFORE) / 1048576 )) # Convert KB to GB+ echo "Time: $((END-START))s | Freed: ${FREED}GB"++ echo -e "\n=== Removing cached tools (~5-10GB) ==="+ BEFORE=$(df / | awk 'NR==2 {print $4}')+ START=$(date +%s)+ sudo rm -rf "$AGENT_TOOLSDIRECTORY"+ END=$(date +%s)+ AFTER=$(df / | awk 'NR==2 {print $4}')+ FREED=$(( (AFTER - BEFORE) / 1048576 ))+ echo "Time: $((END-START))s | Freed: ${FREED}GB"++ echo -e "\n=== Final Summary ==="+ FINAL=$(df / | awk 'NR==2 {print $4}')+ TOTAL_FREED=$(( (FINAL - INITIAL) / 1048576 ))+ echo "Total space freed: ${TOTAL_FREED}GB"+ echo "Final disk usage:"+ df -h /+- name: Setup JDK 17uses: actions/setup-java@v1with: