mirror of
https://github.com/dcarbone/install-jq-action.git
synced 2026-02-12 02:56:56 +08:00
use curl instead of wget to fix failure on macOS runners (#8)
This commit is contained in:
@@ -73,7 +73,7 @@ echo '::group::Downloading jq'
|
||||
echo "Src: ${_dl_url}"
|
||||
echo "Dst: ${_dl_path}"
|
||||
|
||||
wget -O- "${_dl_url}" > "${_dl_path}"
|
||||
curl -L "${_dl_url}" -o "${_dl_path}"
|
||||
|
||||
echo '::endgroup::'
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ echo '::group::Downloading jq'
|
||||
echo "Src: ${_dl_url}"
|
||||
echo "Dst: ${_dl_path}"
|
||||
|
||||
wget -O- "${_dl_url}" > "${_dl_path}"
|
||||
curl -L "${_dl_url}" -o "${_dl_path}"
|
||||
|
||||
echo '::endgroup::'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user