From 6e959fbe631d0a327b003d09c5ceba223f1311e5 Mon Sep 17 00:00:00 2001 From: WuChang <3142324836@qq.com> Date: Wed, 31 Jul 2024 14:15:40 +0800 Subject: [PATCH] Add CI shell specification --- .github/workflows/build-artifacts.yml | 1 + .github/workflows/upload-release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 0a0502a..3bfcd4a 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -57,6 +57,7 @@ jobs: - name: Find executable and dynamic library files - MacOS and Linux if: runner.os != 'Windows' && github.event_name != 'pull_request' id: find-executable-files + shell: bash working-directory: ${{github.workspace}} run: | find ./CIUtils/ -name "*.sh" -exec chmod +x {} \; diff --git a/.github/workflows/upload-release.yml b/.github/workflows/upload-release.yml index de06f9e..66fce7e 100644 --- a/.github/workflows/upload-release.yml +++ b/.github/workflows/upload-release.yml @@ -85,6 +85,7 @@ jobs: - name: Package - MacOS and Linux if: runner.os != 'Windows' + shell: bash working-directory: ${{github.workspace}} run: tar -zcvf package.tar.gz ./*