runtime/build_bun.sh
Adam Štrauch ed6ea70fa5
Some checks failed
Test build / build (push) Failing after 35m53s
A lot of new stuff
2024-08-13 19:59:45 +02:00

17 lines
277 B
Bash
Executable File

#!/bin/bash
set -e
mkdir -p /opt/techs
VERSION=$1
cd /usr/src
wget https://github.com/oven-sh/bun/releases/download/bun-v$VERSION/bun-linux-x64.zip
unzip bun-linux-x64.zip
mkdir -p /opt/techs/bun-$VERSION
mv bun-linux-x64 /opt/techs/bun-$VERSION/bin
rm bun-linux-x64.zip