Skip to content

Commit

Permalink
Remove /opt/hostedtoolcache from image to mitigate GH Action 'no spac…
Browse files Browse the repository at this point in the history
…e left on device' error
  • Loading branch information
emiliom committed Nov 19, 2024
1 parent c078076 commit a1c7973
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ jobs:
image_ref: ${{ steps.env_var.outputs.image_ref }}

steps:
steps:
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
# https://github.com/orgs/community/discussions/25678#discussioncomment-5242449

- name: Checkout Repository
uses: actions/checkout@v2

Expand Down

0 comments on commit a1c7973

Please sign in to comment.