Skip to content

Commit

Permalink
try to fix app build disk space issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyaoww committed Apr 30, 2024
1 parent cac18c7 commit ec8e5ca
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ghcr.yml
Expand Up @@ -42,8 +42,21 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: true

- name: Build and push ${{ matrix.image }}
if: github.event.pull_request.head.repo.full_name == github.repository
Expand Down

0 comments on commit ec8e5ca

Please sign in to comment.