Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Jul 19, 2024
1 parent 52323d2 commit 5e84d4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ runs:
echo "app_source_bin: $app_source_bin"
echo "app_target_bin: $app_target_bin"
(set -x; wget --spider --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1)
(set -x; wget --spider --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1 | grep 'Location:')
(set -x; wget --spider --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1 | grep 'Location:' | awk '{print $2}')
(set -x; wget --spider --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1 | grep 'Location:' | awk '{print $2}' | grep -o '[^/]*$')
(set -x; wget --spider --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1 | grep 'Location:' | awk '{print $2}' | grep -o '[^/]*$' | cut -c2-)
function get_latest_version() {
# currently broken because of https://github.com/curl/curl/issues/13845
# (set -x; curl -sSfL --max-time 5 -o /dev/null -w '%{url_effective}' $APP_REPO_ROOT/releases/latest | grep -o '[^/]*$' | cut -c2-)
Expand Down

0 comments on commit 5e84d4b

Please sign in to comment.