From 5bb64c63630ce42d0240f562f2d7d59d2895b15b Mon Sep 17 00:00:00 2001 From: Mavs Date: Tue, 9 Apr 2024 11:25:47 +0200 Subject: [PATCH] only doc test 20 --- .github/workflows/config.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index b3c8fe6ab..f93a2c4da 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -101,19 +101,22 @@ jobs: python-version: ["3.10", "3.11"] steps: - name: Free disk space + if: ${{ matrix.os != 'windows-latest' }} run: | df -h - if [ "${{ matrix.os }}" == "windows-latest" ]; then - Remove-Item -Path "C:\Program Files\dotnet" -Recurse -Force - Remove-Item -Path "C:\opt\ghc" -Recurse -Force - Remove-Item -Path "C:\ProgramData\boost" -Recurse -Force - Remove-Item -Path "$env:AGENT_TOOLSDIRECTORY" -Recurse -Force - else - rm -rf /usr/share/dotnet/ - rm -rf /opt/ghc - rm -rf /usr/local/share/boost - rm -rf "$AGENT_TOOLSDIRECTORY" - fi + rm -rf /usr/share/dotnet/ + rm -rf /opt/ghc + rm -rf /usr/local/share/boost + rm -rf "$AGENT_TOOLSDIRECTORY" + df -h + - name: Free disk space + if: ${{ matrix.os == 'windows-latest' }} + run: | + df -h + Remove-Item -Path "C:\Program Files\dotnet" -Recurse -Force + Remove-Item -Path "C:\opt\ghc" -Recurse -Force + Remove-Item -Path "C:\ProgramData\boost" -Recurse -Force + Remove-Item -Path "$env:AGENT_TOOLSDIRECTORY" -Recurse -Force df -h - name: Check out source repository uses: actions/checkout@v4