Skip to content

Commit

Permalink
Checkout before running script
Browse files Browse the repository at this point in the history
  • Loading branch information
martinburchell committed Jul 31, 2023
1 parent 07c97eb commit f1aeda5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/free_up_disk_space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ echo "some packages purged"
sudo dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr | head
df . -h
sudo du /usr/ -hx -d 4 --threshold=1G | sort -hr | head

sudo rm -rf ${GITHUB_WORKSPACE}/.git
7 changes: 1 addition & 6 deletions .github/workflows/build-qt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,12 @@ jobs:
os: windows-2019
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Free up disk space
if: runner.os == 'Linux'
run: |
set -eux -o pipefail
${GITHUB_WORKSPACE}/.github/scripts/free_up_disk_space.sh
- uses: actions/checkout@v3
- name: Free up more disk space
if: runner.os == 'Linux'
run: |
set -eux -o pipefail
sudo rm -rf ${GITHUB_WORKSPACE}/.git
- uses: actions/setup-python@v4
with:
python-version: 3.8
Expand Down

0 comments on commit f1aeda5

Please sign in to comment.