Skip to content

Commit be63c86

Browse files
Enable script execution for shell scripts
Added a step to enable script execution for all shell scripts before running build and prepare scripts. Signed-off-by: Shadownite133 <shadownite0130@gmail.com>
1 parent 2f1871d commit be63c86

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci-build-macos.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
with:
4949
ref: ${{ env.GITHUB_BRANCH }}
5050
persist-credentials: false
51+
52+
- name: Enable Script Execution for all Scripts
53+
run: find . -type f -name "*.sh" -exec chmod +x {} \;
5154

5255
- name: Switch to relevant branch
5356
env:
@@ -72,10 +75,10 @@ jobs:
7275
env:
7376
SHOULD_BUILD: yes
7477
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75-
run: chmod +x ./build.sh && ./build.sh
78+
run: ./build.sh
7679

7780
- name: Prepare assets
78-
run: chmod +x ./prepare_assets.sh && ./prepare_assets.sh
81+
run: ./prepare_assets.sh
7982

8083
- name: Upload assets
8184
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1

0 commit comments

Comments
 (0)