mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-07 02:07:43 +02:00
Reuse and improve free space action (#10226)
* Reuse and improve free space action Signed-off-by: Artem Savchenko <armisav@gmail.com> * Checkout actions Signed-off-by: Artem Savchenko <armisav@gmail.com> --------- Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -612,16 +612,13 @@ jobs:
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
|
||||
- name: Free disk space
|
||||
run: |
|
||||
echo "Disk space before cleanup:"
|
||||
df -h
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
sudo rm -rf /opt/ghc
|
||||
sudo rm -rf "/usr/local/share/boost"
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
||||
echo "Disk space after cleanup:"
|
||||
df -h
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
filter: tree:0
|
||||
submodules: recursive
|
||||
- name: Free space
|
||||
uses: ./.github/actions/free-disk-space
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Configure docker
|
||||
@@ -633,11 +630,6 @@ jobs:
|
||||
"containerd-snapshotter": true
|
||||
}
|
||||
}
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
filter: tree:0
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout init repository
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user