diff --git a/.github/workflows/python-wheel-vcpkg.yml b/.github/workflows/python-wheel-vcpkg.yml index 452ad15..4fe3087 100644 --- a/.github/workflows/python-wheel-vcpkg.yml +++ b/.github/workflows/python-wheel-vcpkg.yml @@ -20,6 +20,20 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Free disk space + shell: bash + run: | + if [ "${RUNNER_OS}" == "Linux" ]; then + df -h + echo "Cleaning..." + [ -e "/usr/share/dotnet" ] && sudo rm -rf "/usr/share/dotnet" + [ -e "/opt/ghc" ] && sudo rm -rf "/opt/ghc" + [ -e "/usr/local/share/boost" ] && sudo rm -rf "/usr/local/share/boost" + [ -e "${AGENT_TOOLSDIRECTORY}" ] && sudo rm -rf "${AGENT_TOOLSDIRECTORY}" + echo "Cleaning...done." + df -h + fi + - name: Install OS tools shell: bash run: | @@ -54,20 +68,6 @@ jobs: - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.16.2 - - name: Free disk space - shell: bash - run: | - if [ "${RUNNER_OS}" == "Linux" ]; then - df -h - echo "Cleaning..." - [ -e "/usr/share/dotnet" ] && sudo rm -rf "/usr/share/dotnet" - [ -e "/opt/ghc" ] && sudo rm -rf "/opt/ghc" - [ -e "/usr/local/share/boost" ] && sudo rm -rf "/usr/local/share/boost" - [ -e "${AGENT_TOOLSDIRECTORY}" ] && sudo rm -rf "${AGENT_TOOLSDIRECTORY}" - echo "Cleaning...done." - df -h - fi - - name: Build wheels shell: bash run: |