(MOD) Added "sudo" before "./preinstall" as well as "./postinstall".
This commit is contained in:
4
.github/workflows/cmake-multi-platform.yml
vendored
4
.github/workflows/cmake-multi-platform.yml
vendored
@@ -68,7 +68,7 @@ jobs:
|
|||||||
|
|
||||||
- name: PreInstall
|
- name: PreInstall
|
||||||
# Perform pre-installation.
|
# Perform pre-installation.
|
||||||
run: ./preinstall
|
run: sudo ./preinstall
|
||||||
|
|
||||||
- name: Build
|
- 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).
|
# 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
|
- name: PostInstall
|
||||||
# Perform post-installation.
|
# Perform post-installation.
|
||||||
run: ./postinstall
|
run: sudo ./postinstall
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{ steps.strings.outputs.build-output-dir }}
|
working-directory: ${{ steps.strings.outputs.build-output-dir }}
|
||||||
|
Reference in New Issue
Block a user