(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 - name: PreInstall
# Perform pre-installation. # Perform pre-installation.
run: sudo ./preinstall run: sudo bash ./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: sudo ./postinstall run: sudo bash ./postinstall
- name: Test - name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }} working-directory: ${{ steps.strings.outputs.build-output-dir }}