Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install system packages on Ubuntu
if: ${{ runner.os == 'Linux' }}
run: sudo apt-get install curl readline
run: sudo apt-get install curl libreadline-dev

- name: Install system packages on macOS
if: ${{ runner.os == 'macOS' }}
Expand All @@ -54,7 +54,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run ShellCheck
run: shellcheck bin/* lib/*
Expand All @@ -64,7 +64,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install shfmt
run: brew install shfmt
Expand Down
4 changes: 3 additions & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ install_lua() {
echo "Installing LuaRocks v${luarocks_version}..."
curl -L "https://luarocks.org/releases/${luarocks_name}.tar.gz" --output luarocks.tar.gz || exit 1
tar zxpf luarocks.tar.gz || exit 1
cd "${luarocks_name}" || exit 1

# clean the environment first and use make install instead of bootstrap to install lua rocks
# Create luarocks directory and configure
mkdir -p "$install_path/luarocks" || exit 1
./configure --with-lua="$install_path" --prefix="$install_path/luarocks" || exit 1
make build || exit 1
make install || exit 1
Expand Down
Loading