Skip to content

Commit

Permalink
🔥 Remove unused cached files in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tosone committed Oct 12, 2023
1 parent 1cdc48d commit ff947b4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
name: image-build-alpine
runs-on: ubuntu-22.04
steps:
- name: Delete huge unnecessary folders, and clean apt cache
run: |
rm -rf /opt/hostedtoolcache
rm -rf /usr/share/dotnet
rm -rf /opt/ghc
rm -rf "$AGENT_TOOLSDIRECTORY"
sudo apt-get clean
shell: bash
- name: Checkout branch
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -64,6 +72,14 @@ jobs:
name: image-build-debian
runs-on: ubuntu-22.04
steps:
- name: Delete huge unnecessary folders, and clean apt cache
run: |
rm -rf /opt/hostedtoolcache
rm -rf /usr/share/dotnet
rm -rf /opt/ghc
rm -rf "$AGENT_TOOLSDIRECTORY"
sudo apt-get clean
shell: bash
- name: Checkout branch
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -110,6 +126,14 @@ jobs:
name: image-build-builder
runs-on: ubuntu-22.04
steps:
- name: Delete huge unnecessary folders, and clean apt cache
run: |
rm -rf /opt/hostedtoolcache
rm -rf /usr/share/dotnet
rm -rf /opt/ghc
rm -rf "$AGENT_TOOLSDIRECTORY"
sudo apt-get clean
shell: bash
- name: Checkout branch
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit ff947b4

Please sign in to comment.