Skip to content

Commit 602be64

Browse files
authored
Reorder installation steps for better disk space management
Reorganize the installation steps to free up disk space before installation.
1 parent 197ef15 commit 602be64

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/actions/install/action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,19 @@ runs:
5454
run: |
5555
echo "${PWD}/venv/bin" >> $GITHUB_PATH
5656
57-
- name: Install
57+
- name: Free up disk space
5858
if: steps.restore.outputs.cache-hit != 'true'
5959
shell: bash
6060
run: |
6161
sudo rm -rf /usr/share/dotnet
6262
sudo rm -rf /opt/ghc
6363
sudo rm -rf /usr/local/share/boost
64-
./bin/install.sh || df -h
64+
65+
- name: Install
66+
if: steps.restore.outputs.cache-hit != 'true'
67+
shell: bash
68+
run: |
69+
./bin/install.sh
6570
6671
- name: Show installation
6772
shell: bash

0 commit comments

Comments
 (0)