fix: give root more space.
This commit is contained in:
@@ -9,17 +9,16 @@ jobs:
|
|||||||
- name: Maximize build space
|
- name: Maximize build space
|
||||||
uses: easimon/maximize-build-space@master
|
uses: easimon/maximize-build-space@master
|
||||||
with:
|
with:
|
||||||
root-reserve-mb: 1024
|
root-reserve-mb: 4096
|
||||||
swap-size-mb: 512
|
swap-size-mb: 512
|
||||||
remove-dotnet: 'true'
|
remove-dotnet: 'true'
|
||||||
remove-android: 'true'
|
remove-android: 'true'
|
||||||
remove-haskell: 'true'
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: bash monitor.sh & sudo bash build_action.sh && rm monitor.sh
|
run: sudo bash build_action.sh
|
||||||
|
|
||||||
- name: Artifact
|
- name: Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
while [ -f monitor.sh ]; do
|
|
||||||
echo ================================================
|
|
||||||
df -h
|
|
||||||
echo ================================================
|
|
||||||
sleep 5
|
|
||||||
done
|
|
||||||
Reference in New Issue
Block a user