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

This commit is contained in:
2024-06-25 15:00:50 +08:00
parent acaa38099f
commit b9c5bfbc00

View File

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