mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-23 09:30:54 +00:00
Publish script
This commit is contained in:
parent
a17d9587d6
commit
0e3b45be4a
3 changed files with 78 additions and 16 deletions
11
.github/workflows/install-cross.sh
vendored
Executable file
11
.github/workflows/install-cross.sh
vendored
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
curl -s https://api.github.com/repos/cross-rs/cross/releases/latest \
|
||||
| grep cross-x86_64-unknown-linux-gnu.tar.gz \
|
||||
| cut -d : -f 2,3 \
|
||||
| tr -d \" \
|
||||
| wget -qi -
|
||||
|
||||
tar -zxvf cross-x86_64-unknown-linux-gnu.tar.gz -C /usr/bin
|
||||
rm -f cross-x86_64-unknown-linux-gnu.tar.gz
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue