Skip to content

Commit

Permalink
工作流:防止清理空间出错导致的编译失败
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Aug 25, 2023
1 parent 6f1186f commit 0debf48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/clear_space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc /etc/mysql /etc/php
sudo -E apt-mark hold grub-efi-amd64-signed
sudo -E apt update
sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* moby* snap*
sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* snap* moby* 2>&1
exit 0
1 change: 1 addition & 0 deletions scripts/hardware_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ echo -e "-----------------------------------------------------------------------
echo -e "运行器详细信息:\n"
sudo lshw
echo -e "-----------------------------------------------------------------------------\n"
exit 0

0 comments on commit 0debf48

Please sign in to comment.