File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 build :
12- runs-on : ubuntu-slim
12+ runs-on : ubuntu-latest
1313
1414 steps :
15- - name : Checkout
16- uses : actions/checkout@v6
15+ - uses : actions/checkout@v6
1716 with :
1817 persist-credentials : false
1918 - uses : pnpm/action-setup@v4
2524 check-latest : true
2625 cache : " pnpm"
2726 - run : pnpm i
27+ # only enable Cloudflare Warp after dependencies are installed
28+ - name : setup cloudflare warp
29+ run : |
30+ curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
31+ 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
32+ sudo apt-get update -y
33+ sudo apt-get install -y cloudflare-warp --no-install-recommends
34+ sudo warp-cli --accept-tos registration new
35+ sudo warp-cli --accept-tos mode warp+doh
36+ sudo warp-cli --accept-tos connect
37+ curl -s https://www.cloudflare.com/cdn-cgi/trace | grep "warp="
38+ curl -s http://ipv4.ip.sb
39+ curl -s http://ipv6.ip.sb
2840 - run : pnpm run build
2941 - uses : cloudflare/wrangler-action@v3
3042 with :
You can’t perform that action at this time.
0 commit comments