From 918489427f40334beed5806c275859204d44c397 Mon Sep 17 00:00:00 2001 From: Vasu Jaganath Date: Wed, 31 Jul 2024 22:23:14 -0400 Subject: [PATCH] remove old config when building pypi package --- .github/workflows/test_and_publish_pypi.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_and_publish_pypi.yml b/.github/workflows/test_and_publish_pypi.yml index 27e5a154..9291d414 100644 --- a/.github/workflows/test_and_publish_pypi.yml +++ b/.github/workflows/test_and_publish_pypi.yml @@ -19,6 +19,10 @@ jobs: with: python-version: 3.9 + - name: Remove old global config + if: always() + run: rm -rf "/home/$(whoami)/wic/" && rm -rf "/home/$(whoami)/.toil/" + - name: Install sophios 🔧 run: | pip install .[test] @@ -32,7 +36,7 @@ jobs: python -m pip install twine build python -m build --wheel python -m build --sdist - + - name: Upload Artifact uses: actions/upload-artifact@v3 with: