forked from fscarmen/warp-on-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
19 lines (18 loc) · 832 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: 'Install Warp'
description: 'Install Cloudflare Warp Client on Github actions'
runs:
using: composite
steps:
- name: Install warp-cli
continue-on-error: true
run: |
curl -s https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
sudo apt -y update
sudo apt install -y cloudflare-warp
sudo warp-cli --accept-tos register
sudo warp-cli --accept-tos set-mode warp+doh
sudo warp-cli --accept-tos connect
sleep 1
sudo curl -s4m8 ip.sb
shell: bash