From 8aa652f77ad921c64f9e6a7bfc4a51f3e6f2727d Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 17 Oct 2023 22:07:10 +0800 Subject: import(teapot): Use bash to run scripts in CI. Although it is easy for me to set +x for scripts on macos. But it might not be that easy for Windows users. --- works/teapot/.github/workflows/ci.yaml | 7 ++----- works/teapot/script/install-deps.bash | 0 2 files changed, 2 insertions(+), 5 deletions(-) mode change 100644 => 100755 works/teapot/script/install-deps.bash (limited to 'works') diff --git a/works/teapot/.github/workflows/ci.yaml b/works/teapot/.github/workflows/ci.yaml index 426fdb9..9420964 100644 --- a/works/teapot/.github/workflows/ci.yaml +++ b/works/teapot/.github/workflows/ci.yaml @@ -10,18 +10,15 @@ jobs: build: name: Build runs-on: ubuntu-latest - defaults: - run: - shell: bash steps: - uses: actions/checkout@v3 - name: Install Build Dependencies - run: ./script/install-deps.bash + run: bash ./script/install-deps.bash - name: Build Deb Package - run: ./script/build-deb.bash + run: bash ./script/build-deb.bash - name: Upload Artifact uses: actions/upload-artifact@v3 diff --git a/works/teapot/script/install-deps.bash b/works/teapot/script/install-deps.bash old mode 100644 new mode 100755 -- cgit v1.2.3