Skip to content

Commit

Permalink
clean up space on runner
Browse files Browse the repository at this point in the history
  • Loading branch information
heather999 authored Sep 1, 2023
1 parent 1dcb56d commit 78baad0
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/td-env-docker-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,27 @@ jobs:
name: Build on Ubuntu
runs-on: ubuntu-20.04
steps:
- 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: false
# 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: true
swap-storage: true
- name: Check Disk Space
run: df -h && sudo apt-get clean && df -h
# run: df -h && sudo apt-get clean && df -h
run: df -h
- name: Docker login
run: echo '${{ secrets.DOCKERHUB_ACCESSTOK }}' | docker login --username heather999 --password-stdin
- name : Docker prune
run: sudo docker system prune --all --force && df -h
#- name : Docker prune
# run: sudo docker system prune --all --force && df -h
- name: checkout td_env
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 78baad0

Please sign in to comment.