From 4f205ea8e2b7dcf95d90895402b99e3112bb1ad9 Mon Sep 17 00:00:00 2001 From: "paul.profizi" Date: Tue, 21 Nov 2023 17:19:44 +0100 Subject: [PATCH] Clean up examples first and move new in examples --- .github/workflows/ansys_lab.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ansys_lab.yml b/.github/workflows/ansys_lab.yml index 8d03b8fa68..8a580242f8 100644 --- a/.github/workflows/ansys_lab.yml +++ b/.github/workflows/ansys_lab.yml @@ -33,6 +33,9 @@ jobs: run: | import glob import os + + for example in glob.iglob('*.ipynb'): + os.remove(example) - name: "Download Release Asset - HTML" uses: dsaltares/fetch-gh-release-asset@1.1.0 @@ -44,6 +47,7 @@ jobs: - name: "Extract ipynb examples" shell: python run: | + import glob import os import shutil import zipfile