Skip to content

Commit

Permalink
Fixed codeql out of disk space issue (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
karan6181 committed Oct 17, 2023
1 parent 35c5d36 commit eb9e15a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ jobs:
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
# the following step is required to avoid running out of space
- name: Maximize build space
run: |
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 "Check space..."
df -h
- name: Checkout repository
uses: actions/checkout@v3

Expand Down

0 comments on commit eb9e15a

Please sign in to comment.