Update sync_client.yml

dependabot/github_actions/docker/setup-buildx-action-2.6.0
fscarmen 3 years ago committed by GitHub
parent b953405979
commit 9f75fae291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/sync_client.yml

@ -12,9 +12,6 @@ jobs:
runs-on: ubuntu-20.04
env:
USERNAME: ${{ secrets.GH_USERNAME }}
steps:
- name: Checkout code
uses: actions/checkout@v3.3.0
@ -23,7 +20,7 @@ jobs:
- name: Check the official latest version of Client
run: |
NOW=$(wget -qO- "https://api.github.com/repos/${{ env.USERNAME }}/warp/releases" | grep "tag_name" | grep "CloudFlare" | head -n 1 | sed "s/.*_v\(.\{1,\}\)\".*/\1/g")
NOW=$(wget -qO- "https://api.github.com/repos/${{ github.actor }}/warp/releases" | grep "tag_name" | grep "CloudFlare" | head -n 1 | sed "s/.*_v\(.\{1,\}\)\".*/\1/g")
LATEST=$(wget -qO- "https://pkg.cloudflareclient.com/packages/cloudflare-warp" | grep "release-row" | awk -F '</td><td>' {'print $1'} | awk -F '<td>' {'print $2'})
Operating_System=("CentOS 8" "Debian Bullseye" "Debian Buster" "Debian Stretch" "Ubuntu Jammy" "Ubuntu Focal" "Ubuntu Bionic" "Ubuntu Xenial")

Loading…
Cancel
Save