From b9c5bfbc00d8a69c55747cf8e45779ff70caf822 Mon Sep 17 00:00:00 2001 From: William Lee Date: Tue, 25 Jun 2024 15:00:50 +0800 Subject: [PATCH] (MOD) Added "bash" before "./preinstall" as well as "./postinstall". --- .github/workflows/cmake-multi-platform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 9c11a42..13c995c 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -68,7 +68,7 @@ jobs: - name: PreInstall # Perform pre-installation. - run: sudo ./preinstall + run: sudo bash ./preinstall - name: Build # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). @@ -76,7 +76,7 @@ jobs: - name: PostInstall # Perform post-installation. - run: sudo ./postinstall + run: sudo bash ./postinstall - name: Test working-directory: ${{ steps.strings.outputs.build-output-dir }}