Skip to content

Commit 85b6622

Browse files
manusaclaude
andauthored
fix(ci): stop purging powershell via apt on Ubuntu 26.04 (#452)
The Ubuntu 26.04 runner image installs pwsh from a GitHub release tarball into /opt/microsoft/powershell/7, because the Microsoft apt repo has no 26.04 build yet. There is no powershell apt package, so apt-get purge aborted with exit code 100 and every Linux job failed before the build started. Drop the entry from the purge list and remove the tarball directory alongside the other rm -rf cleanups to keep reclaiming that space. Signed-off-by: Marc Nuri <marc@marcnuri.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 8307a14 commit 85b6622

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/actions/free-disk-space/action.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ runs:
1616
'mono-.*' \
1717
'libmono.*' \
1818
'azure-cli' \
19-
'powershell' \
2019
'^llvm-.*' \
2120
'^clang-.*'
2221
sudo apt-get autoremove -y
@@ -25,4 +24,6 @@ runs:
2524
sudo rm -rf /usr/local/lib/android 2>/dev/null || true
2625
# Remove .NET
2726
sudo rm -rf /usr/share/dotnet 2>/dev/null || true
27+
# Remove PowerShell (tarball install on Ubuntu 26.04, no apt package)
28+
sudo rm -rf /opt/microsoft/powershell 2>/dev/null || true
2829
df -h

0 commit comments

Comments
 (0)