Skip to content

Commit c1ac3d8

Browse files
committed
Remove unused software from disk
1 parent 6f941d8 commit c1ac3d8

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/main-staging.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ jobs:
2020
steps:
2121
- name: Start
2222
run: echo "The name of the branch is ${{ github.ref }} on ${{ github.repository }}"
23+
24+
- name: Free up disk space
25+
run: |
26+
# Remove unnecessary pre-installed software to free up space
27+
sudo rm -rf /usr/share/dotnet
28+
sudo rm -rf /usr/local/lib/android
29+
sudo rm -rf /opt/ghc
30+
sudo rm -rf /opt/hostedtoolcache/CodeQL
31+
2332
- name: Install Hugo
2433
run: |
2534
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ jobs:
2020
steps:
2121
- name: Start
2222
run: echo "The name of the branch is ${{ github.ref }} on ${{ github.repository }}"
23+
24+
- name: Free up disk space
25+
run: |
26+
# Remove unnecessary pre-installed software to free up space
27+
sudo rm -rf /usr/share/dotnet
28+
sudo rm -rf /usr/local/lib/android
29+
sudo rm -rf /opt/ghc
30+
sudo rm -rf /opt/hostedtoolcache/CodeQL
31+
2332
- name: Install Hugo
2433
run: |
2534
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \

0 commit comments

Comments
 (0)