Update sync_wireproxy.yml

dependabot/github_actions/docker/build-push-action-4.0.0
fscarmen 3 years ago committed by GitHub
parent 12aec02a76
commit 964dafd1d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/sync_wireproxy.yml

@ -20,7 +20,7 @@ jobs:
NOW=$(wget -qO- https://raw.githubusercontent.com/${{ env.USERNAME }}/warp/main/wireproxy/version_history | head -n 1 | sed "s/.*v\(.*\)/\1/g")
LATEST=$(wget -qO- "https://api.github.com/repos/octeep/wireproxy/releases/latest" | grep "tag_name" | head -n 1 | cut -d : -f2 | sed 's/[ \"v,]//g')
if [ "$LATEST" = "$NOW" ]; then
if [ "$LATEST" != "$NOW" ]; then
[ ! -d ${GITHUB_WORKSPACE}/wireproxy ] && mkdir -p ${GITHUB_WORKSPACE}/wireproxy
PLATFORM=( "linux_amd64" "linux_arm64" "linux_s390x" )
for i in "${PLATFORM[@]}"; do

Loading…
Cancel
Save