Skip to content

Commit

Permalink
backup rust installation
Browse files Browse the repository at this point in the history
  • Loading branch information
k0baya authored Mar 21, 2024
1 parent 6375350 commit 6c2b00b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
pkg install -y node16 npm-node16 wget curl git gcc bash gawk gsed
wget https://dl.google.com/go/go1.22.0.freebsd-amd64.tar.gz && tar -C /usr/local -xzf go1.22.0.freebsd-amd64.tar.gz && rm go1.22.0.freebsd-amd64.tar.gz
ln -s /usr/local/go/bin/go /usr/local/bin/go
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# echo '. $HOME/.cargo/env' >> ~/.bashrc
# . "$HOME/.cargo/env"
run: |
export LATEST_APP=$(wget -qO- https://api.github.com/repos/Calcium-Ion/new-api/tags | gawk -F '["v]' '/name/{print "v"$5;exit}')
git clone -b $LATEST_APP https://github.com/Calcium-Ion/new-api
Expand Down

0 comments on commit 6c2b00b

Please sign in to comment.