Skip to content

fix(workflow): clean disk space#4786

Merged
DIYgod merged 1 commit intoRSSNext:devfrom
TonyRL:workflow/clean-disk
Dec 31, 2025
Merged

fix(workflow): clean disk space#4786
DIYgod merged 1 commit intoRSSNext:devfrom
TonyRL:workflow/clean-disk

Conversation

@TonyRL
Copy link
Contributor

@TonyRL TonyRL commented Dec 31, 2025

Description

Hopefully address the issue of https://github.com/RSSNext/Folo/actions/runs/20552478820 System.IO.IOException: No space left on device when building APK.

$ du -sh /usr/share/dotnet
4.0G    /usr/share/dotnet

$ du -sh /usr/local/.ghcup
6.4G    /usr/local/.ghcup

$ du -sh /opt/hostedtoolcache/CodeQL
1.7G    /opt/hostedtoolcache/CodeQL

$ du -sh /usr/share/swift
3.2G    /usr/share/swift

$ du -sh /usr/local/julia*
1015M   /usr/local/julia1.12.2

Running those we've got

# before
$ df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        72G   55G   18G  76% /
# after
$ df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        72G   39G   34G  54% /

PR Type

  • Feature
  • Bugfix
  • Hotfix
  • Other (please describe):

Screenshots (if UI change)

Demo Video (if new feature)

Linked Issues

Additional context

actions/runner-images#2840

Changelog

  • I have updated the changelog/next.md with my changes.

Copilot AI review requested due to automatic review settings December 31, 2025 00:28
@vercel
Copy link

vercel bot commented Dec 31, 2025

@TonyRL is attempting to deploy a commit to the RSS3 Team on Vercel.

A member of the Team first needs to authorize it.

@safedep
Copy link

safedep bot commented Dec 31, 2025

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses disk space issues in the Android build workflow by adding a cleanup step that removes unused toolchains and development tools from GitHub-hosted runners. The change aims to prevent "No space left on device" errors encountered during APK builds by freeing up approximately 16GB of disk space.

  • Adds a disk cleanup step that removes dotnet, ghcup, CodeQL, Swift, and Julia installations
  • Includes before/after disk space diagnostics using df -h /
  • Positions the cleanup step before code checkout to maximize available space during the build

@DIYgod DIYgod merged commit b9159d9 into RSSNext:dev Dec 31, 2025
10 of 12 checks passed
@TonyRL TonyRL deleted the workflow/clean-disk branch January 19, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants