Skip to content

Commit

Permalink
feat: Use workaround to gain extra space from github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hung3a8 committed Jun 29, 2024
1 parent 8ad9375 commit 11252cc
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/push-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-docker-images: 'true'
remove-codeql: 'true'
remove-haskell: 'true'
remove-android: 'true'
run: echo "Free space: $(df -h /)"

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

Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/push-self-hosted-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ jobs:
runs-on: self-hosted

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-docker-images: 'true'
remove-codeql: 'true'
remove-haskell: 'true'
remove-android: 'true'
run: echo "Free space: $(df -h /)"

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

Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/push-self-hosted-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-docker-images: 'true'
remove-codeql: 'true'
remove-haskell: 'true'
remove-android: 'true'
run: echo "Free space: $(df -h /)"

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

Expand Down

0 comments on commit 11252cc

Please sign in to comment.