Skip to content

Commit

Permalink
Free runner disk space for image build step
Browse files Browse the repository at this point in the history
  • Loading branch information
pst committed Oct 6, 2023
1 parent 34d61c4 commit 9c3a1b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ jobs:
id-token: write # needed for keyless signing

steps:
- name: 'Free disk space'
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf $AGENT_TOOLSDIRECTORY
- name: 'Checkout'
uses: actions/checkout@v3

Expand Down

0 comments on commit 9c3a1b3

Please sign in to comment.