aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-10-17 22:07:10 +0800
committercrupest <crupest@outlook.com>2023-10-17 22:07:10 +0800
commit8aa652f77ad921c64f9e6a7bfc4a51f3e6f2727d (patch)
tree94dacceece0a71a9b86de0be4c9189edaac789c9
parente09b474e2e9fb9ae87536bdce5c8df3c5f8006ee (diff)
downloadcrupest-8aa652f77ad921c64f9e6a7bfc4a51f3e6f2727d.tar.gz
crupest-8aa652f77ad921c64f9e6a7bfc4a51f3e6f2727d.tar.bz2
crupest-8aa652f77ad921c64f9e6a7bfc4a51f3e6f2727d.zip
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.
-rw-r--r--works/teapot/.github/workflows/ci.yaml7
-rwxr-xr-x[-rw-r--r--]works/teapot/script/install-deps.bash0
2 files changed, 2 insertions, 5 deletions
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
index 813b884..813b884 100644..100755
--- a/works/teapot/script/install-deps.bash
+++ b/works/teapot/script/install-deps.bash