From e92285893bdc3ccbd8c84573898a794ab899ffa0 Mon Sep 17 00:00:00 2001 From: Michael Fu Date: Wed, 11 Oct 2023 18:03:00 -0700 Subject: [PATCH 1/2] Fix conda out of space (#4337) * Update build_conda_pkg.yaml --- .github/workflows/build_conda_pkg.yaml | 4 +--- docs/source/release_notes.rst | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_conda_pkg.yaml b/.github/workflows/build_conda_pkg.yaml index 2bf056d537..5a05394d12 100644 --- a/.github/workflows/build_conda_pkg.yaml +++ b/.github/workflows/build_conda_pkg.yaml @@ -24,9 +24,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - sparse-checkout: | - .github - src + sparse-checkout: . - name: Install Dependencies run: | pip install virtualenv diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index d338a4ea70..47722cfe58 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -16,7 +16,7 @@ Release Notes * Enhancements * Fixes * Fixed bug related to pypi release github action failing :pr:`4330` - * Fixed bug related to conda build github action :pr:`4335` + * Fixed bug related to conda build github action :pr:`4335`, :pr:`4337` * Changes * Documentation Changes * Testing Changes From ebe869cf08065612b4b59f3c40c18fa355322b74 Mon Sep 17 00:00:00 2001 From: Michael Fu Date: Thu, 12 Oct 2023 10:58:52 -0700 Subject: [PATCH 2/2] Fix conda out of space error (#4338) * Update build_conda_pkg.yaml --- .github/workflows/build_conda_pkg.yaml | 8 +++++++- docs/source/release_notes.rst | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_conda_pkg.yaml b/.github/workflows/build_conda_pkg.yaml index 5a05394d12..8583aa4e02 100644 --- a/.github/workflows/build_conda_pkg.yaml +++ b/.github/workflows/build_conda_pkg.yaml @@ -24,7 +24,13 @@ jobs: with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - sparse-checkout: . + - name: Free up space + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + shell: bash - name: Install Dependencies run: | pip install virtualenv diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index 47722cfe58..674c23c913 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -16,7 +16,7 @@ Release Notes * Enhancements * Fixes * Fixed bug related to pypi release github action failing :pr:`4330` - * Fixed bug related to conda build github action :pr:`4335`, :pr:`4337` + * Fixed bug related to conda build github action :pr:`4335` :pr:`4337`, :pr:`4338` * Changes * Documentation Changes * Testing Changes