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 40b7814 commit 52323d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
matrix:
os:
- ubuntu-latest
- macos-latest
- macos-12 # x64
- macos-latest # ARM
- windows-latest

steps:
Expand Down
8 changes: 1 addition & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,11 @@ runs:
echo "app_source_bin: $app_source_bin"
echo "app_target_bin: $app_target_bin"
(set -x; wget --spider --max-redirect=0 --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1)
(set -x; wget --spider --max-redirect=0 --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1 | grep 'Location:')
(set -x; wget --spider --max-redirect=0 --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1 | grep 'Location:' | awk '{print $2}')
(set -x; wget --spider --max-redirect=0 --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1 | grep 'Location:' | awk '{print $2}' | grep -o '[^/]*$')
(set -x; wget --spider --max-redirect=0 --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-)
(set -x; wget --spider --max-redirect=0 --timeout=5 --header='Accept: */*' https://github.com/mikefarah/yq/releases/latest 2>&1 | grep 'Location:' | awk '{print $2}' | grep -o '[^/]*$' | cut -c2-)
(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-)
}
app_downloaded=false
Expand Down

0 comments on commit 52323d2

Please sign in to comment.