mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-20 23:23:26 +01:00
fix(ci): link bunx after the SHA-verified Bun install in GitLab CI and the Ubicloud setup
This commit is contained in:
1 parent
80d75a77ae
commit
479c4972ed
3 files changed
+7
No files matched your search
@@ -31,6 +31,7 @@ if [ ! -x "$HOME/.bun/bin/bun" ]; then
|
||||
echo "36368faef7527875d5ffa52e53cd48021741f2a83eb6208a8dd64068d422a913 $bun_tmp/bun.zip" | sha256sum -c - >/dev/null
|
||||
unzip -q "$bun_tmp/bun.zip" -d "$bun_tmp"
|
||||
install -D -m 0755 "$bun_tmp/bun-linux-x64/bun" "$HOME/.bun/bin/bun"
|
||||
ln -sf bun "$HOME/.bun/bin/bunx"
|
||||
rm -rf "$bun_tmp"
|
||||
fi
|
||||
grep -q '.bun/bin' "$HOME/.profile" || echo 'export PATH="$HOME/.bun/bin:$PATH"' >>"$HOME/.profile"
|
||||
|
||||
Reference in new issue
Block a user