Skip to content

Commit 3f40984

Browse files
committed
.github: workflow updated, fixes
1 parent 56a483e commit 3f40984

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: actions/checkout@v4
5353

5454
- name: Build LUA for linux
55-
run: cd lua && ./download-lua.sh && ./build-linux.sh
55+
run: cd lua && ./download-lua.sh && ./build-linux.sh ${{ matrix.arch }}
5656
shell: alpine.sh {0}
5757

5858
- name: Store the distribution packages

lua/build-linux.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
set -e
22

33
script_dir="$(cd "$(dirname "$0")" && pwd)"
4-
arch=$(arch)
4+
5+
arch="$1"
6+
[[ -z $arch ]] && arch=$(arch)
57

68
cd "$script_dir/build/lua-"*
79

0 commit comments

Comments
 (0)