(MOD) Added "sudo" before "./preinstall" as well as "./postinstall".

This commit is contained in:
2024-06-25 14:56:12 +08:00
parent 5026f03692
commit acaa38099f

View File

@@ -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 }}