Skip to content

Commit 2d759e5

Browse files
authored
fix(ci): kong ci requires these directories exist (#6)
1 parent 0c7bdf0 commit 2d759e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ function main() {
100100
curl -fsSLo atc-router.tar.gz https://github.com/hutchic/atc-router/releases/download/$ATC_ROUTER_VERSION/$package_architecture-unknown-$OSTYPE.tar.gz
101101
tar -C /tmp/build -xvf atc-router.tar.gz
102102

103+
mkdir -p /tmp/build/usr/local/lib/luarocks
104+
mkdir -p /tmp/build/usr/local/share/lua
105+
mkdir -p /tmp/build/usr/local/lib/lua
106+
103107
sed -i 's/\/tmp\/build//' `grep -l -I -r '\/tmp\/build' /tmp/build/`
104108
}
105109

0 commit comments

Comments
 (0)