Skip to content

Commit

Permalink
fix dir
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Sep 19, 2024
1 parent a2c92b7 commit 0825b89
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ jobs:
export KERL_CONFIGURE_OPTIONS="--with-dynamic-trace=lttng ${KERL_CONFIGURE_OPTIONS}"
fi
sudo mkdir -p /home/ubuntu/OTP/
sudo chmod 777 /home/ubuntu/OTP/
target_dir="/home/ubuntu/OTP/${type}-${otp_vsn}"
sudo mkdir -p "$target_dir"
sudo chmod 777 "$target_dir"
./kerl update releases
./kerl build-install "${otp_vsn}" "/home/ubuntu/OTP/${type}-${otp_vsn}"
./kerl build-install "${otp_vsn}" "$target_dir"
cp ./kerl /home/ubuntu/OTP/
tar czvf "${type}-${otp_vsn}-${os}.tar.gz" /home/ubuntu/OTP/
Expand Down

0 comments on commit 0825b89

Please sign in to comment.