From d677b232a9f33a5b1f8747f60a23330810ba18af Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Wed, 23 Nov 2022 15:30:42 +0100 Subject: [PATCH] clean install folder after deploy on macos --- .github/workflows/MacOS.yml | 2 +- scripts/macOS/2_deploy.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/MacOS.yml b/.github/workflows/MacOS.yml index 14d65ecdf..7fd2d9588 100644 --- a/.github/workflows/MacOS.yml +++ b/.github/workflows/MacOS.yml @@ -62,7 +62,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: meshlab_macos_portable${{steps.envs.outputs.artifact_suffix}} - path: install/MeshLab*.app + path: install/ - name: Upload DMG uses: actions/upload-artifact@v3 with: diff --git a/scripts/macOS/2_deploy.sh b/scripts/macOS/2_deploy.sh index f4e6fa535..b60576b32 100755 --- a/scripts/macOS/2_deploy.sh +++ b/scripts/macOS/2_deploy.sh @@ -43,3 +43,7 @@ done ${QT_DIR}macdeployqt $INSTALL_PATH/$APPNAME \ $ARGUMENTS + +# remove everything from install path, except the appbundle +cd $INSTALL_PATH +ls | grep -xv "${APPNAME}" | xargs rm \ No newline at end of file