Fix CI curl calls
Fix `curl` to follow redirects and use the correct `strip` variable. See gh-15158
This commit is contained in:
@@ -39,7 +39,7 @@ case "$1" in
|
||||
esac
|
||||
mkdir -p /opt/openjdk
|
||||
cd /opt/openjdk
|
||||
curl ${JDK_URL} | tar zx --strip-components={JDK_STRIP}
|
||||
curl -L ${JDK_URL} | tar zx --strip-components=${JDK_STRIP}
|
||||
|
||||
|
||||
###########################################################
|
||||
|
||||
Reference in New Issue
Block a user