From acaa38099fd0fa85efd014140794b4b2a0086c00 Mon Sep 17 00:00:00 2001 From: William Lee Date: Tue, 25 Jun 2024 14:56:12 +0800 Subject: [PATCH] (MOD) Added "sudo" 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 4a2d459..9c11a42 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: ./preinstall + run: sudo ./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: ./postinstall + run: sudo ./postinstall - name: Test working-directory: ${{ steps.strings.outputs.build-output-dir }}