diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e1729d..e6ddd19 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,14 +12,14 @@ 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 @@ -29,7 +29,7 @@ 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 @@ -39,7 +39,7 @@ 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