From 231be33bfea08a1f396e6a0346f77815db3c9134 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Thu, 10 Oct 2024 13:20:15 +0000 Subject: [PATCH] v1.2 Update Client commands. --- .github/workflows/test.yml | 11 ++++------- README.md | 2 +- action.yml | 4 ++-- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e1729d..85156b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,16 +12,15 @@ jobs: runs-on: ubuntu-latest name: client warp+doh mode by default steps: - - uses: fscarmen/warp-on-actions@v1.1 + - uses: fscarmen/warp-on-actions@v1.2 client-ipv4: runs-on: ubuntu-latest name: client warp+doh mode with ipv4 steps: - name: Set up WARP with client with ipv4 - uses: fscarmen/warp-on-actions@v1.1 + uses: fscarmen/warp-on-actions@v1.2 with: - mode: client stack: ipv4 client-ipv6: @@ -29,9 +28,8 @@ jobs: name: client warp+doh mode with ipv6 steps: - name: Set up WARP with client - uses: fscarmen/warp-on-actions@v1.1 + uses: fscarmen/warp-on-actions@v1.2 with: - mode: client stack: ipv6 client-dual: @@ -39,7 +37,6 @@ jobs: name: client warp+doh mode with dual steps: - name: Set up WARP with client - uses: fscarmen/warp-on-actions@v1.1 + uses: fscarmen/warp-on-actions@v1.2 with: - mode: client stack: dual \ No newline at end of file diff --git a/README.md b/README.md index 0a7d338..62ccf1f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ client warp+doh mode ``` - name: Set up WARP - uses: fscarmen/warp-on-actions@v1.1 + uses: fscarmen/warp-on-actions@v1.2 with: stack: dual # Optional. Support [ ipv4, ipv6, dual ]. Default is dual. ``` diff --git a/action.yml b/action.yml index f1c552b..f6abdb7 100644 --- a/action.yml +++ b/action.yml @@ -23,9 +23,9 @@ runs: sudo warp-cli --accept-tos registration new sudo warp-cli --accept-tos mode warp+doh if [ "${{ inputs.stack }}" == 'ipv4' ]; then - sudo warp-cli --accept-tos add-excluded-route ::/0 + sudo warp-cli --accept-tos tunnel ip add-range ::0/0 elif [ "${{ inputs.stack }}" == 'ipv6' ]; then - sudo warp-cli --accept-tos add-excluded-route 0.0.0.0/0 + sudo warp-cli --accept-tos tunnel ip add-range 0.0.0.0/0 fi sudo warp-cli --accept-tos connect